WorkflowRuntimeServiceState 枚举

定义

警告

此 API 现已过时。

指定 WorkflowRuntimeService 的状态。Specifies the state of the WorkflowRuntimeService.

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

字段

Started 2

指示 WorkflowRuntimeService 已经启动。Indicates that the WorkflowRuntimeService has started.

Starting 1

指示 WorkflowRuntimeService 正在启动。Indicates that the WorkflowRuntimeService is starting. Start() 会将 WorkflowRuntimeService 的状态更改为 StartingStart() changes the state of the WorkflowRuntimeService to Starting.

Stopped 0

指示 WorkflowRuntimeService 已经停止。Indicates that the WorkflowRuntimeService has stopped.

Stopping 3

指示 WorkflowRuntimeService 正在停止。Indicates that the WorkflowRuntimeService is stopping. Stop() 会将 WorkflowRuntimeService 的状态更改为 StoppingStop() changes the state of the WorkflowRuntimeService to Stopping.

注解

备注

本材料讨论的类型和命名空间已废弃不用。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.

适用于