WorkflowTrackingRecord.EventArgs 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个 EventArgs 包含与某些类型的工作流状态事件关联的其他数据。
public:
virtual property EventArgs ^ EventArgs { EventArgs ^ get(); void set(EventArgs ^ value); };
public override EventArgs EventArgs { get; set; }
member this.EventArgs : EventArgs with get, set
Public Overrides Property EventArgs As EventArgs
属性值
TrackingWorkflowSuspendedEventArgs、TrackingWorkflowTerminatedEventArgs、TrackingWorkflowExceptionEventArgs 或 null 引用(Visual Basic 中的 Nothing)。
注解
对于大多数工作流状态事件, EventArgs 是空引用(Nothing);但是,对于某些类型的工作流状态事件,运行时跟踪基础结构用于 EventArgs 返回有关工作流状态事件的其他数据。 下表列出了对应于 TrackingWorkflowEvent 这些特殊工作流状态事件的值以及每个工作流状态事件返回 EventArgs 的对象类型。
| TrackingWorkflowEvent 值 | EventArgs 对象 |
|---|---|
| Exception | TrackingWorkflowExceptionEventArgs |
| Suspended | TrackingWorkflowSuspendedEventArgs |
| Terminated | TrackingWorkflowTerminatedEventArgs |
此属性由运行时跟踪基础结构设置。