ActivityExecutionStatus 枚举

定义

警告

此 API 现已过时。

活动状态值的枚举,这些值对应于运行中的工作流实例中活动的生命周期。Enumeration of activity status values that correspond to the life cycle of an activity within a running workflow instance.

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

字段

Canceling 2

表示活动正处于取消过程中的状态。Represents the status when an activity is in the process of being canceled.

Closed 3

表示活动已关闭的状态。Represents the status when an activity is closed.

Compensating 4

表示正在补偿活动的状态。Represents the status when an activity is compensating.

Executing 1

表示正在执行活动的状态。Represents the status when an activity is executing.

Faulting 5

表示活动出现错误的状态。Represents the status when an activity is faulting.

Initialized 0

表示正在初始化活动的状态。Represents the status when an activity is being initialized.

注解

备注

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

状态表示工作流实例中 Activity 实例的当前状态。Status represents the current status of an Activity instance within a workflow instance.

适用于