Expand Minimize

ActivityInstanceState Enumeration

Describes the state of an activity instance.

Namespace:  System.Activities
Assembly:  System.Activities (in System.Activities.dll)

[DataContractAttribute]
public enum ActivityInstanceState

Member nameDescription
ExecutingSpecifies that the activity is in an executing state.
ClosedSpecifies that the activity is in a 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.

CanceledSpecifies that the activity is in a canceled state.

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

FaultedSpecifies that the activity is in a 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.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft