TrackingWorkflowEvent 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
指定工作流状态事件的类型。
public enum class TrackingWorkflowEvent
[System.Serializable]
public enum TrackingWorkflowEvent
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public enum TrackingWorkflowEvent
[<System.Serializable>]
type TrackingWorkflowEvent =
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type TrackingWorkflowEvent =
Public Enum TrackingWorkflowEvent
- 继承
- 属性
字段
| 名称 | 值 | 说明 |
|---|---|---|
| Created | 0 | 已创建工作流实例。 |
| Completed | 1 | 工作流实例已完成。 |
| Idle | 2 | 工作流实例处于空闲状态。 |
| Suspended | 3 | 工作流实例已挂起。 |
| Resumed | 4 | 以前挂起的工作流实例已恢复运行。 |
| Persisted | 5 | 工作流实例已保留。 |
| Unloaded | 6 | 工作流实例已从内存中卸载。 |
| Loaded | 7 | 工作流实例已加载到内存中。 |
| Exception | 8 | 发生了未经处理的异常。 |
| Terminated | 9 | 工作流实例已终止。 |
| Aborted | 10 | 工作流实例已中止。 |
| Changed | 11 | 工作流实例上发生了工作流更改。 |
| Started | 12 | 工作流实例已启动。 |
注解
注释
此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的
工作流实例在执行过程中可以传递多个状态。 例如,工作流实例可能处于空闲状态,也可能挂起。 每次工作流实例更改状态时,都会向运行时跟踪基础结构发出工作流状态事件。 TrackingWorkflowEvent 枚举可能的工作流状态事件类型。