Partager via


IWorkflowModificationService.OnWorkflowModified Event

Raised when a running workflow instance is modified.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<CorrelationAliasAttribute("modificationId", "e.modificationId")> _
Event OnWorkflowModified As EventHandler(Of SPModificationEventArgs)

Dim instance As IWorkflowModificationService
Dim handler As EventHandler(Of SPModificationEventArgs)

AddHandler instance.OnWorkflowModified, handler
[CorrelationAliasAttribute("modificationId", "e.modificationId")]
event EventHandler<SPModificationEventArgs> OnWorkflowModified

Remarks

You can use the OnWorkflowModified activity to respond to the event of the workflow being modified.

When the IWorkflowModificationService service raises an event, the event parameters are contained in the SPModificationEventArgs class.

For more information on workflow modifications, see Workflow Modification Forms (Windows SharePoint Services).

See Also

Reference

IWorkflowModificationService Interface

IWorkflowModificationService Members

Microsoft.SharePoint.Workflow Namespace