Partilhar via


CorrelationToken.UnsubscribeFromCorrelationTokenInitializedEvent Método

Definição

Cancela a assinatura do CorrelationToken do evento inicializado.

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

Parâmetros

activity
Activity

O nome da Activity que possui o token de correlação.

dataChangeListener
IActivityEventListener<CorrelationTokenEventArgs>

O CorrelationTokenEventArgs que está escutando em busca de uma alteração nos dados de evento.

Exceções

activity ou dataChangeListener são referências nulas (Nothing no Visual Basic).

Aplica-se a