TaskStatus Enumeration
Namespace:
System.Threading.Tasks
Assembly: Bridge (in Bridge.dll)
Assembly: Bridge (in Bridge.dll)
Syntax
[ExternalAttribute] [EnumAttribute] [NamespaceAttribute] public enum TaskStatus
<ExternalAttribute> _ <EnumAttribute> _ <NamespaceAttribute> _ Public Enumeration TaskStatus
[ExternalAttribute] [EnumAttribute] [NamespaceAttribute] public enum class TaskStatus
Members
Member name | Description | |
---|---|---|
Created | The task has been initialized but has not yet been scheduled. | |
WaitingForActivation | The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure. | |
WaitingToRun | The task has been scheduled for execution but has not yet begun executing. | |
Running | The task is running but has not yet completed. | |
WaitingForChildrenToComplete | The task has finished executing and is implicitly waiting for attached child tasks to complete. | |
RanToCompletion | The task completed execution successfully. | |
Canceled | The task acknowledged cancellation by throwing an OperationCanceledException with its own CancellationToken while the token was in signaled state, or the task's CancellationToken was already signaled before the task started executing. | |
Faulted | The task completed due to an unhandled exception. |