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) _
)
protected void Unsubscribe(
    ActivityExecutionContext parentContext,
    IActivityEventListener<QueueEventArgs> parentEventHandler
)
protected:
void Unsubscribe(
    ActivityExecutionContext^ parentContext, 
    IActivityEventListener<QueueEventArgs^>^ parentEventHandler
)
function unsubscribe(parentContext, parentEventHandler);

Parameters

  • parentContext
    Type: ActivityExecutionContext
  • parentEventHandler
    Type: IActivityEventListener<(Of <(QueueEventArgs>)>)

Exceptions

Exception Condition
ArgumentNullException Thrown if argument is null.

See Also

CommandActivity Class

Microsoft.Rtc.Workflow.Activities Namespace