IWorkflowModificationService.OnWorkflowModified Event

Raised when a running workflow instance is modified.

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

Syntax

'Declaration
<CorrelationAliasAttribute("modificationId", "e.modificationId")> _
Event OnWorkflowModified As EventHandler(Of SPModificationEventArgs)
'Usage
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 (SharePoint Foundation).

See Also

Reference

IWorkflowModificationService Interface

IWorkflowModificationService Members

Microsoft.SharePoint.Workflow Namespace