Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Activity.RegisterForStatusChange Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft