Bearbeiten

CorrelationToken.UnsubscribeFromCorrelationTokenInitializedEvent Method

Definition

Unsubscribes the CorrelationToken from the initialized event.

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

Parameters

activity
Activity

The name of the Activity that owns the correlation token.

dataChangeListener
IActivityEventListener<CorrelationTokenEventArgs>

The CorrelationTokenEventArgs that is listening for a change in event data.

Exceptions

activity or dataChangeListener are null references (Nothing in Visual Basic).

Applies to