Activity.RegisterForStatusChange Metodo

Definizione

Registra la proprietà specificata DependencyProperty relativamente all’evento di modifica dello stato.

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

Parametri

dependencyProp
DependencyProperty

DependencyProperty da registrare.

activityStatusChangeListener
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

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

Eccezioni

Si applica a