Partilhar via


CommandActivity.Unsubscribe Method

Requests that the CommandActivity deletes the queue for its event.

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

Syntax

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

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

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown if argument is null.

See Also

Reference

CommandActivity Class

CommandActivity Members

Microsoft.Rtc.Workflow.Activities Namespace