Aracılığıyla paylaş


CorrelationToken.SubscribeForCorrelationTokenInitializedEvent Yöntem

Tanım

öğesini CorrelationToken başlatılan olaya abone eder.

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

Parametreler

activity
Activity

Bağıntı belirtecinin Activity sahibi olan adı.

dataChangeListener
IActivityEventListener<CorrelationTokenEventArgs>

Olay CorrelationTokenEventArgs verilerindeki bir değişikliği dinleyen.

Özel durumlar

activityveya dataChangeListener null başvurulardır (NothingVisual Basic).

Şunlara uygulanır