共用方式為


Activity.UnregisterForStatusChange 方法

定義

解除註冊狀態變更事件的指定 DependencyProperty

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

參數

dependencyProp
DependencyProperty

要解除註冊的 DependencyProperty

activityStatusChangeListener
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

實作此註冊之事件接聽程式介面的物件。

例外狀況

適用於