Edit

Bagikan melalui


Activity.UnregisterForStatusChange Method

Definition

Un-registers the specified DependencyProperty for the status change event.

public:
 void UnregisterForStatusChange(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProp, System::Workflow::ComponentModel::IActivityEventListener<System::Workflow::ComponentModel::ActivityExecutionStatusChangedEventArgs ^> ^ activityStatusChangeListener);
public void UnregisterForStatusChange (System.Workflow.ComponentModel.DependencyProperty dependencyProp, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs> activityStatusChangeListener);
member this.UnregisterForStatusChange : System.Workflow.ComponentModel.DependencyProperty * System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs> -> unit
Public Sub UnregisterForStatusChange (dependencyProp As DependencyProperty, activityStatusChangeListener As IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs))

Parameters

dependencyProp
DependencyProperty

The DependencyProperty to un-register.

activityStatusChangeListener
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

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

Exceptions

Applies to