Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The task was canceled before it reached the running state, or it acknowledged its cancellation and completed without exception.
Namespace: System.Threading.Tasks
Assembly: mscorlib (in mscorlib.dll)
Because you cannot access this internal member from the .NET Framework, the following syntax is provided in Common Intermediate Language (CIL).
.field static assembly literal int32 TASK_STATE_CANCELED = int32(0x00800000)
Remarks
If the m_stateFlags field contains this value, the Status property returns TaskStatus.Canceled.