共用方式為


EventHandlingScopeActivity.IActivityEventListener<ActivityExecutionStatusChangedEventArgs>.OnEvent 方法

定義

定義發生訂閱事件時的處理程序。

 virtual void System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>.OnEvent(System::Object ^ sender, System::Workflow::ComponentModel::ActivityExecutionStatusChangedEventArgs ^ e) = System::Workflow::ComponentModel::IActivityEventListener<System::Workflow::ComponentModel::ActivityExecutionStatusChangedEventArgs ^>::OnEvent;
void IActivityEventListener<ActivityExecutionStatusChangedEventArgs>.OnEvent (object sender, System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs e);
abstract member System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>.OnEvent : obj * System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs -> unit
override this.System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>.OnEvent : obj * System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs -> unit
Sub OnEvent (sender As Object, e As ActivityExecutionStatusChangedEventArgs) Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs).OnEvent

參數

sender
Object

引發事件的物件。

e
ActivityExecutionStatusChangedEventArgs

之前輸入的事件引數。

實作

適用於