共用方式為


WorkflowRuntimeServiceState 列舉

定義

警告

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

指定 WorkflowRuntimeService 的狀態。

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

欄位

Started 2

表示 WorkflowRuntimeService 已啟動。

Starting 1

表示 WorkflowRuntimeService 正在啟動中。 Start() 會將 WorkflowRuntimeService 的狀態變更為 Starting

Stopped 0

表示 WorkflowRuntimeService 已停止。

Stopping 3

表示 WorkflowRuntimeService 正在停止中。 Stop() 會將 WorkflowRuntimeService 的狀態變更為 Stopping

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

適用於