Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# ITask.GetParentTask Method

Return the parent task, or `null` if this is a root task.

ITask GetParentTask();

#### Return Value

The parent task, or `null` if this is a root task.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | if the object already been removed.
CollaborationException | The method call resulted in an error.
SoapException | if there is a communication problem during the execution of the remote method call.

#### See Also

ITask Interface | Plumtree.Remote.PRC.Collaboration.Tasklist Namespace