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 中弃用的类型

适用于