Activity.UnregisterForStatusChange Método

Definição

Cancela o registro do DependencyProperty especificado para o evento de alteração de status.

public:
 void UnregisterForStatusChange(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProp, System::Workflow::ComponentModel::IActivityEventListener<System::Workflow::ComponentModel::ActivityExecutionStatusChangedEventArgs ^> ^ activityStatusChangeListener);
public void UnregisterForStatusChange (System.Workflow.ComponentModel.DependencyProperty dependencyProp, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs> activityStatusChangeListener);
member this.UnregisterForStatusChange : System.Workflow.ComponentModel.DependencyProperty * System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs> -> unit
Public Sub UnregisterForStatusChange (dependencyProp As DependencyProperty, activityStatusChangeListener As IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs))

Parâmetros

dependencyProp
DependencyProperty

O DependencyProperty para ter o registro cancelado.

activityStatusChangeListener
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

O objeto que implementa a interface de Ouvinte de Eventos para esse registro.

Exceções

Aplica-se a