Udostępnij za pośrednictwem


Activity.UnregisterForStatusChange Metoda

Definicja

Wyrejestruje określone DependencyProperty zdarzenie zmiany stanu.

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

Parametry

dependencyProp
DependencyProperty

Element DependencyProperty do wyrejestrowania.

activityStatusChangeListener
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

Obiekt, który implementuje interfejs odbiornika zdarzeń dla tej rejestracji.

Wyjątki

Dotyczy