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
sender
Type: System.ObjectThe source of the event.
e
Type: System.Workflow.ComponentModel.QueueEventArgsThe data for the event.
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