TASK_STATE_CANCELED Field

The task was canceled before it reached the running state, or it acknowledged its cancellation and completed without exception.

Note

This information is specific to .NET Framework 4 and is subject to change in a future release.

Because you cannot access these members from the .NET Framework, this topic provides syntax in Microsoft intermediate language (MSIL). For more information about MSIL, see Compiling to MSIL.

Namespace:  System.Threading.Tasks

Assembly:  mscorlib (in mscorlib.dll)

.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.

See Also

Reference

Task Class