ActivityExecutionStatus 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 status values that correspond to the life cycle of an activity within a running workflow instance.
public enum class ActivityExecutionStatus
public enum ActivityExecutionStatus
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public enum ActivityExecutionStatus
type ActivityExecutionStatus =
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ActivityExecutionStatus =
Public Enum ActivityExecutionStatus
- Inheritance
- Attributes
Fields
Canceling | 2 | Represents the status when an activity is in the process of being canceled. |
Closed | 3 | Represents the status when an activity is closed. |
Compensating | 4 | Represents the status when an activity is compensating. |
Executing | 1 | Represents the status when an activity is executing. |
Faulting | 5 | Represents the status when an activity is faulting. |
Initialized | 0 | Represents the status when an activity is being initialized. |
Remarks
Note
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
Status represents the current status of an Activity instance within a workflow instance.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈