m_stateFlags Field

m_stateFlags Field


Stores information about the current state of the Task object.

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 assembly int32 modreq(System.Runtime.CompilerServices.IsVolatile) m_stateFlags

You typically use the Task.Status property to access this value.

This member can be any combination of the following values:

© 2016 Microsoft