Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# ITaskList.RemoveTask Method

Removes a task given the taskID.

void RemoveTask(
ITask task
);

#### Parameters

task
  Task to be removed; cannot be `null`.

#### Exceptions

Exception Type | Condition
--- | ---
CollaborationException | The method call resulted. in an error
InvalidOperationException | if the object has not yet been stored or has already been removed.
ArgumentException | if id of the task is no > 0.
SoapException | if there is a communication problem during the execution of the remote method call.

#### See Also

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