Task |
protected enum State
| Member name | Value | Description |
|---|---|---|
| Running | 0 | Execution is still running. |
| CancellationSoftRequested | 1 | A soft cancellation was requested. |
| CancellationHardRequested | 2 | A hard cancellation was requested. |
| InterruptRequested | 3 | A thread interrupt was requested. |
| AbandonRequested | 5 | Abandoning the operation was requested. |
The TaskCancelControllerState type exposes the following members.
| Name | Description | |
|---|---|---|
| IsT |
Determines whether the enumeration value is equal to the specified value.
(Defined by EnumerationExtensions) | |
| WithClearedFlagT |
Returns the enum value with the specified flag cleared.
(Defined by EnumerationExtensions) | |
| WithFlagT |
Returns the enum value with the specified flag set or cleared, depending on the value argument.
(Defined by EnumerationExtensions) | |
| WithSetFlagT |
Returns the enum value with the specified flag set.
(Defined by EnumerationExtensions) |