Compartir vía


CorrelationToken.SubscribeForCorrelationTokenInitializedEvent Método

Definición

Suscribe CorrelationToken al evento inicializado.

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))

Parámetros

activity
Activity

El nombre de Activity que posee el token de la correlación.

dataChangeListener
IActivityEventListener<CorrelationTokenEventArgs>

CorrelationTokenEventArgs que está escuchando un cambio en los datos de evento.

Excepciones

activity o dataChangeListener son referencias nulas (Nothing en Visual Basic).

Se aplica a