Plumtree EDK (Enterprise Web Development Kit) 5.4.0

ITask.AddDependentTask Method 

Adds this task as a dependent task of the given source task, i.e., make the current task depend on the specified source task.

void AddDependentTask(
   ITask sourceTask
);

Parameters

sourceTask
The source task that the current task depends on; cannot be null.

Remarks

The current task thus needs to call Store to persist the newly-added dependency. If the source task to be added has sub-tasks, the current task cannot add that source task as a dependency, and CollaborationException will be thrown upon calling Store.

Exceptions

Exception Type Condition
InvalidOperationException if the object already been removed.

See Also

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