Partager via


ReceiveActivity.IEventActivity.Unsubscribe Méthode

Définition

Annule l'abonnement d'une Activity à un événement.

 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

Paramètres

parentContext
ActivityExecutionContext

ActivityExecutionContext représentant l'environnement d'exécution de l'activité WebServiceInputActivity.

parentEventHandler
IActivityEventListener<QueueEventArgs>

EventHandler qui gère l'événement. Ce gestionnaire d'événements est la propriété de l'activité parente.

Implémente

S’applique à