Activity::UnregisterForStatusChange Method (DependencyProperty^, IActivityEventListener<ActivityExecutionStatusChangedEventArgs^>^)
.NET Framework (current version)
Un-registers the specified DependencyProperty for the status change event.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
public: void UnregisterForStatusChange( DependencyProperty^ dependencyProp, IActivityEventListener<ActivityExecutionStatusChangedEventArgs^>^ activityStatusChangeListener )
Parameters
- dependencyProp
-
Type:
System.Workflow.ComponentModel::DependencyProperty^
The DependencyProperty to un-register.
- activityStatusChangeListener
-
Type:
System.Workflow.ComponentModel::IActivityEventListener<ActivityExecutionStatusChangedEventArgs^>^
The object that implements the Event Listener interface for this registration.
| Exception | Condition |
|---|---|
| ArgumentException | dependencyProp is not one of the following: |
.NET Framework
Available since 3.0
Available since 3.0
Show: