ActivityInstanceState 枚举
定义
描述活动实例的状态。Describes the state of an activity instance.
public enum class ActivityInstanceState
[System.Runtime.Serialization.DataContract]
public enum ActivityInstanceState
[<System.Runtime.Serialization.DataContract>]
type ActivityInstanceState =
Public Enum ActivityInstanceState
- 继承
- 属性
字段
| Canceled | 2 | 已取消状态。The canceled state. Canceled 为活动实例的最终状态。 Canceled is a terminal state for an activity instance. Canceled 活动已完成,但未执行要执行的函数。A Canceled activity completes without performing the function it was designed to perform. |
| Closed | 1 | 已关闭状态。The closed state. Closed 为活动实例的最终状态。 Closed is a terminal state for an activity instance. Closed 活动已成功完成并执行了要执行的函数。A Closed activity completed successfully and performed the function it was designed to perform. |
| Executing | 0 | 执行语句。The executing state. |
| Faulted | 3 | 出错状态。The faulted state. Faulted 为活动实例的最终状态。 Faulted is a terminal state for an activity instance. Faulted 活动实例在执行期间被中止(可能是由于异常),且未执行要执行的函数。A Faulted activity instance was aborted during execution, potentially because of an exception, and did not perform the function it was designed to perform. |