Edit

Share via


ActivityInstanceState Enum

Definition

Describes the state of an activity instance.

C#
[System.Runtime.Serialization.DataContract]
public enum ActivityInstanceState
Inheritance
ActivityInstanceState
Attributes

Fields

Name Value Description
Executing 0

The executing state.

Closed 1

The closed state.

Closed is a terminal state for an activity instance. A Closed activity completed successfully and performed the function it was designed to perform.

Canceled 2

The canceled state.

Canceled is a terminal state for an activity instance. A Canceled activity completes without performing the function it was designed to perform.

Faulted 3

The faulted state.

Faulted is a terminal state for an activity instance. A Faulted activity instance was aborted during execution, potentially because of an exception, and did not perform the function it was designed to perform.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1