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

字段

名称 说明
Running 0

工作流实例正在运行。

Completed 1

工作流实例已完成。

Suspended 2

工作流实例已由 SuspendActivity 活动、调用 Suspend(String)或工作流运行时引擎挂起。

Terminated 3

工作流实例已由 TerminateActivity 活动、调用 Terminate(String)或工作流运行时引擎终止。

Created 4

工作流实例是通过调用其中一个重载 CreateWorkflow(Type) 方法创建的。

注解

注释

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

适用于