Compartir a través de


Activity.UnregisterForStatusChange Método

Definición

Anula el registro del DependencyProperty especificado para el evento de cambio de estado.

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

DependencyProperty cuyo registro se anulará.

activityStatusChangeListener
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

El objeto que implementa la interfaz del agente de escucha de eventos para este registro.

Excepciones

Se aplica a