共用方式為


TASK_STATE_EXECUTED Field

The task is running but has not yet completed.

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

Remarks

If the m_stateFlags field contains this value, the Status property returns TaskStatus.Running.

See Also

Reference

Task Class - Internal Members