次の方法で共有


TASK_STATE_EXECUTED 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

The task is running but has not yet completed.

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 static assembly literal int32 TASK_STATE_EXECUTED = int32(0x00020000)

Remarks

If the m_stateFlags field contains this value, the Status property returns System.Threading.Tasks.TaskStatus.

See also