EventHandlersActivity.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

先前键入的事件自变量。

实现

适用于