DialogEventActivity.Unsubscribe Method
Called to get the DialogEventActivity to delete the queue for its event.
Namespace: Microsoft.Rtc.Workflow.Activities
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)
Syntax
'Declaration
Protected Overridable Sub Unsubscribe ( _
parentContext As ActivityExecutionContext, _
parentEventHandler As IActivityEventListener(Of QueueEventArgs) _
)
protected virtual void Unsubscribe(
ActivityExecutionContext parentContext,
IActivityEventListener<QueueEventArgs> parentEventHandler
)
protected:
virtual void Unsubscribe(
ActivityExecutionContext^ parentContext,
IActivityEventListener<QueueEventArgs^>^ parentEventHandler
)
Parameters
- parentContext
Type: System.Workflow.ComponentModel.ActivityExecutionContext
- parentEventHandler
Type: System.Workflow.ComponentModel.IActivityEventListener<QueueEventArgs>
Exceptions
Exception | Condition |
---|---|
System.ArgumentNullException | Thrown if the argument is null. |