TaskState

Description

The TaskState enumeration contains values that return task state.

It is used by the following property:

Available Values

Value Brief description
0 Created. The task is created but not running.
3 Running. The task is running.
4 WaitingForChildrenToComplete. The task is completed and is waiting for linked child tasks to complete.
5 RanToCompletion. The task has been successfully completed.
6 Canceled. The task was canceled.
7 Faulted. The task failed with error.

See also:

System Assembly Enumerations