CorrelationToken.SubscribeForCorrelationTokenInitializedEvent Methode

Definition

Abonniert das CorrelationToken für das initialisierte Ereignis.

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

Parameter

activity
Activity

Der Name der Activity, die das Korrelationstoken besitzt.

dataChangeListener
IActivityEventListener<CorrelationTokenEventArgs>

Das CorrelationTokenEventArgs-Element, das überwacht, ob eine Änderung der Ereignisdaten auftritt.

Ausnahmen

activity oder dataChangeListener ist ein NULL-Verweis (Nothing in Visual Basic).

Gilt für