Share via


ImpersonationSequenceActivity.IActivityEventListener<ActivityExecutionStatusChangedEventArgs>.OnEvent Method

Defines the process procedure when the subscribe-to event occurs.

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

Syntax

'Declaration
Private Sub OnEvent ( _
    sender As Object, _
    e As ActivityExecutionStatusChangedEventArgs _
) Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs).OnEvent
'Usage
Dim instance As ImpersonationSequenceActivity
Dim sender As Object
Dim e As ActivityExecutionStatusChangedEventArgs

CType(instance, IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)).OnEvent(sender, _
    e)
void IActivityEventListener<ActivityExecutionStatusChangedEventArgs>.OnEvent(
    Object sender,
    ActivityExecutionStatusChangedEventArgs e
)

Parameters

Implements

IActivityEventListener<T>.OnEvent(Object, T)

Remarks

This member is an explicit interface member implementation. It can be used only when the ImpersonationSequenceActivity instance is cast to an IActivityEventListener interface.

This implementation defines the process procedure for the execution status of the sender.

This method throws an ArgumentNullException if either argument is null .

See Also

Reference

ImpersonationSequenceActivity Class

ImpersonationSequenceActivity Members

Microsoft.SharePoint.WorkflowActions Namespace