Share via


CommandActivity.IEventActivity.Unsubscribe Method

Called to get the CommandActivity to delete the queue for its event.

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

Syntax

'Declaration
Private Sub Unsubscribe ( _
    parentContext As ActivityExecutionContext, _
    parentEventHandler As IActivityEventListener(Of QueueEventArgs) _
) Implements IEventActivity.Unsubscribe
void IEventActivity.Unsubscribe(
    ActivityExecutionContext parentContext,
    IActivityEventListener<QueueEventArgs> parentEventHandler
)
private:
virtual void Unsubscribe(
    ActivityExecutionContext^ parentContext, 
    IActivityEventListener<QueueEventArgs^>^ parentEventHandler
) sealed = IEventActivity::Unsubscribe
JavaScript does not support explicit interface implementations.

Parameters

Implements

IEventActivity.Unsubscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)

Exceptions

Exception Condition
System.ArgumentNullException Thrown if argument is null.

See Also

CommandActivity Class

Microsoft.Rtc.Workflow.Activities Namespace