CorrelationToken.UnsubscribeFromCorrelationTokenInitializedEvent Metode

Definisi

Berhenti berlangganan CorrelationToken dari peristiwa yang diinisialisasi.

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

Parameter

activity
Activity

Nama yang Activity memiliki token korelasi.

dataChangeListener
IActivityEventListener<CorrelationTokenEventArgs>

CorrelationTokenEventArgs yang mendengarkan perubahan data peristiwa.

Pengecualian

activity atau dataChangeListener adalah referensi null (Nothing di Visual Basic).

Berlaku untuk