CorrelationToken.SubscribeForCorrelationTokenInitializedEvent Método

Definición

CorrelationToken Suscribe 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

Nombre del que Activity posee el token de correlación.

dataChangeListener
IActivityEventListener<CorrelationTokenEventArgs>

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

Excepciones

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

Se aplica a