ActivityExecutionResult Enum

Definition

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
ActivityExecutionResult
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