Partilhar via


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)
Available in Sandboxed Solutions: No

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