Activity::RegisterForStatusChange Method (DependencyProperty^, IActivityEventListener<ActivityExecutionStatusChangedEventArgs^>^)

 

Registers the specified DependencyProperty for the status change event.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public:
void RegisterForStatusChange(
	DependencyProperty^ dependencyProp,
	IActivityEventListener<ActivityExecutionStatusChangedEventArgs^>^ activityStatusChangeListener
)

Parameters

dependencyProp
Type: System.Workflow.ComponentModel::DependencyProperty^

The DependencyProperty to register.

activityStatusChangeListener
Type: System.Workflow.ComponentModel::IActivityEventListener<ActivityExecutionStatusChangedEventArgs^>^

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

.NET Framework
Available since 3.0
Return to top
Show: