Share via


WaitForDocumentStatusActivity.IActivityEventListener<QueueEventArgs>.OnEvent Method

Handles the subscribed-to event.

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

Syntax

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

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

Parameters

Implements

IActivityEventListener<T>.OnEvent(Object, T)

Remarks

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

This method handles the subscribed-to event that was specified by the DocumentStatus property and created when the Execute(ActivityExecutionContext) method was called.

See Also

Reference

WaitForDocumentStatusActivity Class

WaitForDocumentStatusActivity Members

Microsoft.SharePoint.WorkflowActions.WithKey Namespace