ActivityExecutionResult Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
Enumeration of activity result values that qualifies the state of an Activity that has an ActivityExecutionStatus of Closed
.
public enum class ActivityExecutionResult
public enum ActivityExecutionResult
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public enum ActivityExecutionResult
type ActivityExecutionResult =
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ActivityExecutionResult =
Public Enum ActivityExecutionResult
- Inheritance
- Attributes
Fields
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 | 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. |
Remarks
Note
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
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. Values other than None
are allowed only for an activity whose System.Workflow.ComponentModel.ActivityExecutionStatus is ActivityExecutionStatus.Closed.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈