December 2019
Intermediate to advanced
346 pages
9h 8m
English
Another type of relationship that can occur between threads is a parent-child relationship. The child task is created as a nested task inside the body of the parent task. The child task can be created either as attached or detached. Both types of tasks are created inside the parent task and, by default, the created tasks are detached. We can make an attached task by setting the AttachedToParent property of the task to true. You may want to consider creating an attached task in any of the following scenarios:
Read now
Unlock full access