Redigera

Dela via


ActivityExecutionStatus Enum

Definition

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
ActivityExecutionStatus
Attributes

Fields

Name Value Description
Initialized 0

Represents the status when an activity is being initialized.

Executing 1

Represents the status when an activity is executing.

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.

Faulting 5

Represents the status when an activity is faulting.

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