Επεξεργασία

Κοινή χρήση μέσω


ActivityInstanceState Enum

Definition

Describes the state of an activity instance.

public enum class ActivityInstanceState
[System.Runtime.Serialization.DataContract]
public enum ActivityInstanceState
[<System.Runtime.Serialization.DataContract>]
type ActivityInstanceState = 
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