次の方法で共有


TASK_STATE_WAITING_ON_CHILDREN Field

The task has finished executing its delegate and is implicitly waiting for attached child tasks to complete.

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_WAITING_ON_CHILDREN = int32(0x01000000)

Remarks

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

See Also

Reference

Task Class - Internal Members