Udostępnij za pośrednictwem


DelayActivity.IEventActivity.Unsubscribe Metoda

Definicja

Anuluje subskrypcję DelayActivity zdarzenia.

 virtual void System.Workflow.Activities.IEventActivity.Unsubscribe(System::Workflow::ComponentModel::ActivityExecutionContext ^ parentContext, System::Workflow::ComponentModel::IActivityEventListener<System::Workflow::ComponentModel::QueueEventArgs ^> ^ parentEventHandler) = System::Workflow::Activities::IEventActivity::Unsubscribe;
void IEventActivity.Unsubscribe (System.Workflow.ComponentModel.ActivityExecutionContext parentContext, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.QueueEventArgs> parentEventHandler);
abstract member System.Workflow.Activities.IEventActivity.Unsubscribe : System.Workflow.ComponentModel.ActivityExecutionContext * System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.QueueEventArgs> -> unit
override this.System.Workflow.Activities.IEventActivity.Unsubscribe : System.Workflow.ComponentModel.ActivityExecutionContext * System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.QueueEventArgs> -> unit
Sub Unsubscribe (parentContext As ActivityExecutionContext, parentEventHandler As IActivityEventListener(Of QueueEventArgs)) Implements IEventActivity.Unsubscribe

Parametry

parentContext
ActivityExecutionContext

Obiekt ActivityExecutionContext , który reprezentuje środowisko wykonywania elementu Activity.

parentEventHandler
IActivityEventListener<QueueEventArgs>

Element EventHandler dla zdarzenia nadrzędnego.

Implementuje

Wyjątki

parentContext lub parentEventHandler ma wartość null.

Dotyczy