Partilhar via


DialogEventActivity.Subscribe Method

Creates the queue for the event represented in the DialogEventActivity class.

Namespace:  Microsoft.Rtc.Workflow.Activities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
Protected Overridable Sub Subscribe ( _
    parentContext As ActivityExecutionContext, _
    parentEventHandler As IActivityEventListener(Of QueueEventArgs) _
)
'Usage
Dim parentContext As ActivityExecutionContext
Dim parentEventHandler As IActivityEventListener(Of QueueEventArgs)

Me.Subscribe(parentContext, parentEventHandler)
protected virtual void Subscribe(
    ActivityExecutionContext parentContext,
    IActivityEventListener<QueueEventArgs> parentEventHandler
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown if argument is null.

See Also

Reference

DialogEventActivity Class

DialogEventActivity Members

Microsoft.Rtc.Workflow.Activities Namespace