语言

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
属性

字段

名称 值 说明
Stopped 0

指示 WorkflowRuntimeService 已停止。

Starting 1

指示 WorkflowRuntimeService 正在启动。 Start() 将状态 WorkflowRuntimeService 更改为 Starting.

Started 2

指示 WorkflowRuntimeService 已启动。

Stopping 3

指示 WorkflowRuntimeService 正在停止。 Stop() 将状态 WorkflowRuntimeService 更改为 Stopping.

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

适用于