CorrelationToken.UnsubscribeFromCorrelationTokenInitializedEvent 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從已初始化的事件取消訂閱 CorrelationToken。
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))
參數
- dataChangeListener
- IActivityEventListener<CorrelationTokenEventArgs>
接聽在事件資料中之變更的 CorrelationTokenEventArgs。
例外狀況
activity
或 dataChangeListener
為 null 參考 (在 Visual Basic 中為 Nothing
)。