Share via


m_stateFlags field

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Stores information about the current state of the Task object.

Namespace: System.Threading.Tasks

Assembly: mscorlib (in mscorlib.dll)

Because you can't access this internal member from the .NET Framework, the following syntax is provided in Common Intermediate Language (CIL).

Syntax

.field assembly int32 modreq(System.Runtime.CompilerServices.IsVolatile) m_stateFlags

Remarks

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

This member can be any combination of the following values:

See also