Condividi tramite


ReceiveActivity.IEventActivity.Unsubscribe Metodo

Definizione

Annulla la sottoscrizione di un'attività Activity 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

Parametri

parentContext
ActivityExecutionContext

Elemento ActivityExecutionContext che rappresenta l'ambiente di esecuzione dell’attività WebServiceInputActivity.

parentEventHandler
IActivityEventListener<QueueEventArgs>

Oggetto EventHandler che gestisce l'evento. Questo gestore eventi è di proprietà dell'attività padre.

Implementazioni

Si applica a