Compartir a través de


DelayActivity.IEventActivity.Unsubscribe Método

Definición

Cancela la suscripción de la DelayActivity a un evento.

 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

Parámetros

parentContext
ActivityExecutionContext

ActivityExecutionContext que representa el entorno de ejecución de la Activity.

parentEventHandler
IActivityEventListener<QueueEventArgs>

EventHandler del objeto primario.

Implementaciones

Excepciones

parentContext o parentEventHandler es null.

Se aplica a