m_children Field

The list of child tasks that are registered with this task.

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 public class System.Collections.Generic.List`1<class System.Threading.Tasks.Task> m_children

Remarks

While the task is running, only the thread that executes the task should access this array.

If the task is completed, other threads can access this field as long as they do not add anything to it or remove anything from it.

See Also

Reference

ContingentProperties Class - Internal Members