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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應