Partager via


CorrelationToken.UnsubscribeFromCorrelationTokenInitializedEvent Méthode

Définition

Annule un abonnement de la CorrelationToken de l'événement initialisé.

public:
 void UnsubscribeFromCorrelationTokenInitializedEvent(System::Workflow::ComponentModel::Activity ^ activity, System::Workflow::ComponentModel::IActivityEventListener<System::Workflow::Runtime::CorrelationTokenEventArgs ^> ^ dataChangeListener);
public void UnsubscribeFromCorrelationTokenInitializedEvent (System.Workflow.ComponentModel.Activity activity, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.Runtime.CorrelationTokenEventArgs> dataChangeListener);
member this.UnsubscribeFromCorrelationTokenInitializedEvent : System.Workflow.ComponentModel.Activity * System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.Runtime.CorrelationTokenEventArgs> -> unit
Public Sub UnsubscribeFromCorrelationTokenInitializedEvent (activity As Activity, dataChangeListener As IActivityEventListener(Of CorrelationTokenEventArgs))

Paramètres

activity
Activity

Nom de Activity possédant le jeton de corrélation.

dataChangeListener
IActivityEventListener<CorrelationTokenEventArgs>

CorrelationTokenEventArgs observant les modifications des données d'événement.

Exceptions

activity ou dataChangeListener sont des références Null (Nothing en Visual Basic).

S’applique à