แก้ไข

แชร์ผ่าน


Activity.RegisterForStatusChange Method

Definition

Registers the specified DependencyProperty for the status change event.

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

Parameters

dependencyProp
DependencyProperty

The DependencyProperty to register.

activityStatusChangeListener
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

The object that implements the Event Listener interface for this registration.

Exceptions

Applies to