TrackingWorkflowEvent 列舉

定義

警告:已過時

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

指定工作流程狀態事件的類型。Specifies a type of workflow status event.

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
繼承
TrackingWorkflowEvent
屬性

欄位

Aborted 10

已中止工作流程執行個體。The workflow instance has aborted.

Changed 11

工作流程執行個體上發生工作流程變更。A workflow change has occurred on the workflow instance.

Completed 1

已完成工作流程執行個體。The workflow instance has completed.

Created 0

已建立工作流程執行個體。The workflow instance has been created.

Exception 8

發生未處理的例外狀況。An unhandled exception has occurred.

Idle 2

工作流程執行個體閒置中。The workflow instance is idle.

Loaded 7

工作流程執行個體已載入記憶體。The workflow instance has been loaded into memory.

Persisted 5

已保存工作流程執行個體。The workflow instance has been persisted.

Resumed 4

已繼續執行之前暫止的工作流程執行個體。A previously suspended workflow instance has resumed running.

Started 12

已啟動工作流程執行個體。The workflow instance has been started.

Suspended 3

已暫止工作流程執行個體。The workflow instance has been suspended.

Terminated 9

已終止工作流程執行個體。The workflow instance has been terminated.

Unloaded 6

已從記憶體中卸載工作流程執行個體。The workflow instance has been unloaded from memory.

備註

注意

此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

工作流程執行個體在其執行期間會經過數個狀態。A workflow instance can pass through several states during the course of its execution. 例如,工作流程執行個體可能會變成閒置或暫止。For example, a workflow instance may become idle, or it may be suspended. 每次工作流程執行個體變更狀態時,都會發出工作流程狀態事件到執行階段追蹤基礎結構。Every time the workflow instance changes state, it emits a workflow status event to the runtime tracking infrastructure. TrackingWorkflowEvent 會列舉可能的工作流程狀態事件類型。TrackingWorkflowEvent enumerates the possible types of workflow status event.

適用於