Activity.UnregisterForStatusChange Metodo

Definizione

Annulla la registrazione della proprietà specificata DependencyProperty per l’evento di modifica dello stato.

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

Parametri

dependencyProp
DependencyProperty

DependencyProperty di cui annullare la registrazione.

activityStatusChangeListener
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

Oggetto che implementa l'interfaccia Event Listener per questa registrazione.

Eccezioni

Si applica a