Megosztás a következőn keresztül:


m_stateFlags Field

Stores information about the current state of the Task object.

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

Remarks

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

This member can be any combination of the following values:

See Also

Reference

Task Class