Sdílet prostřednictvím


CorrelationToken.UnsubscribeFromCorrelationTokenInitializedEvent Metoda

Definice

CorrelationToken Odhlásí odběr inicializované události.

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

Parametry

activity
Activity

Název Activity tokenu korelace, který vlastní.

dataChangeListener
IActivityEventListener<CorrelationTokenEventArgs>

Naslouchá CorrelationTokenEventArgs se změnám dat událostí.

Výjimky

activitynebo dataChangeListener jsou odkazy null (Nothingv Visual Basic).

Platí pro