ITaskService.OnTaskDeleted Event

Raised when the a workflow task is deleted.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

[CorrelationAliasAttribute("taskId", "e.taskId")]
event EventHandler<SPTaskServiceEventArgs> OnTaskDeleted

When the ITaskService service raises an event, the event parameters are contained in the SPTaskServiceEventArgs class.

You can add an OnTaskDeleted workflow activity to your workflow to respond to this event.