ActivityInstanceState ActivityInstanceState ActivityInstanceState ActivityInstanceState Enum

定义

描述活动实例的状态。Describes the state of an activity instance.

public enum class ActivityInstanceState
[System.Runtime.Serialization.DataContract]
public enum ActivityInstanceState
type ActivityInstanceState = 
Public Enum ActivityInstanceState
继承
ActivityInstanceStateActivityInstanceStateActivityInstanceStateActivityInstanceState
属性

字段

Canceled Canceled Canceled Canceled 2

指定活动处于已取消状态。Specifies that the activity is in a canceled state.

“已取消”是活动实例的最终状态。Canceled is a terminal state for an activity instance. 处于“已取消”状态的活动虽已完成,但未执行要执行的函数。A Canceled activity completes without performing the function it was designed to perform.

Closed Closed Closed Closed 1

指定活动处于已关闭状态。Specifies that the activity is in a closed state.

“已关闭”是活动实例的最终状态。Closed is a terminal state for an activity instance. 处于“已关闭”状态的活动已成功完成,并执行了要执行的函数。A Closed activity completed successfully and performed the function it was designed to perform.

Executing Executing Executing Executing 0

指定活动处于执行状态。Specifies that the activity is in an executing state.

Faulted Faulted Faulted Faulted 3

指定活动处于出错状态。Specifies that the activity is in a faulted state.

适用于