ActivityExecutionResult 枚举

定义

警告

此 API 现已过时。

活动结果值的枚举,该枚举限定具有 ActivityActivityExecutionStatusClosed 的状态。Enumeration of activity result values that qualifies the state of an Activity that has an ActivityExecutionStatus of Closed.

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

字段

Canceled 2

该活动已由取消状态转换为关闭状态。The activity has transitioned to the closed state from the canceling state.

Compensated 3

该活动已由补偿状态转换为关闭状态。The activity has transitioned to the closed state from the compensating state.

Faulted 4

该活动已由出错状态转换为关闭状态。The activity has transitioned to the closed state from the faulting state.

None 0

活动未处于 Closed 状态。The activity is not in the Closed state.

Succeeded 1

该活动已由执行状态转换为关闭状态。The activity has transitioned to the closed state from the executing state.

Uninitialized 5

该活动已由已初始化状态转换为关闭状态。The activity has transitioned to the closed state from the initialized state.

注解

备注

本材料讨论的类型和命名空间已废弃不用。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 实例的最终状态。Result represents the final status of an Activity instance within a workflow instance. 枚举的值基于由活动引擎协定确定的活动状态关系图。The values of the enumeration are based upon the activity state diagram that is determined by the activity-engine contract. 只有其 NoneSystem.Workflow.ComponentModel.ActivityExecutionStatus 的活动才允许除 ActivityExecutionStatus.Closed 之外的其他值。Values other than None are allowed only for an activity whose System.Workflow.ComponentModel.ActivityExecutionStatus is ActivityExecutionStatus.Closed.

适用于