WorkflowStatus 列舉

定義

警告

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

指定工作流程實例的狀態。

public enum class WorkflowStatus
public enum WorkflowStatus
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum WorkflowStatus
type WorkflowStatus = 
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowStatus = 
Public Enum WorkflowStatus
繼承
WorkflowStatus
屬性

欄位

名稱 Description
Running 0

工作流程實例正在執行。

Completed 1

工作流程實例已完成。

Suspended 2

工作流程實例已被活動、呼叫SuspendActivity或工作流執行引擎暫停Suspend(String)

Terminated 3

工作流程實例已被某項活動、呼叫 TerminateActivity或工作流執行引擎終止Terminate(String)

Created 4

工作流程實例是由呼叫其中一個過 CreateWorkflow(Type) 載方法所建立的。

備註

Note

此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的 Deprecated Types。

適用於