TTaskStatus = ( Created, WaitingToRun, Running, Paused, Completed, Canceled );
Members |
Description |
Created |
The work item has been created but not added to any threadpool. |
WaitingToRun |
The work was added to any threadpool and is waiting to be executed. |
Running |
The workitem is currently being executed. |
Paused |
The workitem was requested to pause its work. |
Completed |
The workitem has successfully completed its work |
Canceled |
The workitem was externally canceled or terminated, or an unhandled exception occurred. |
The states in that a task or workitem can be in.