ISharePointService.OnWorkflowItemDeleted Event
Raised when the item on which the workflow instance is running is deleted.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
<CorrelationAliasAttribute("workflowId", "e.workflowId")> _
Event OnWorkflowItemDeleted As EventHandler(Of SPItemEventArgs)
Dim instance As ISharePointService
Dim handler As EventHandler(Of SPItemEventArgs)
AddHandler instance.OnWorkflowItemDeleted, handler
[CorrelationAliasAttribute("workflowId", "e.workflowId")]
event EventHandler<SPItemEventArgs> OnWorkflowItemDeleted
Remarks
You can add an OnWorkflowItemDeleted workflow activity to your workflow to handle this event.
When the ISharePointService raises this event, the event parameters are contained in the SPItemEventArgs class.