Instance State 枚举
描述活动实例的状态。Describes the state of an activity instance.
public enum class ActivityInstanceState
[System.Runtime.Serialization.DataContract] public enum ActivityInstanceState
type ActivityInstanceState =
Public Enum ActivityInstanceState
指定活动处于已取消状态。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.
指定活动处于已关闭状态。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.
指定活动处于执行状态。Specifies that the activity is in an executing state.
指定活动处于出错状态。Specifies that the activity is in a faulted state.