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

'Declaration
<CorrelationAliasAttribute("workflowId", "e.workflowId")> _
Event OnWorkflowItemDeleted As EventHandler(Of SPItemEventArgs)
'Usage
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.

See also

Reference

ISharePointService interface

ISharePointService members

Microsoft.SharePoint.Workflow namespace