Compartir vía


Activity.RegisterForStatusChange Método

Definición

Registra el DependencyProperty especificado para el evento de cambio de estado.

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

Parámetros

dependencyProp
DependencyProperty

La clase DependencyProperty que se va a registrar.

activityStatusChangeListener
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

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

Excepciones

Se aplica a