Compartir a través de


CorrelationToken.UnsubscribeFromCorrelationTokenInitializedEvent Método

Definición

Anula la suscripción CorrelationToken al evento inicializado.

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

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