State State State State Class

Definition

Models the state which a state machine can be in.

public ref class State sealed
public sealed class State
type State = class
Public NotInheritable Class State
Inheritance
StateStateStateState

Constructors

State() State() State() State()

Initializes a new instance of the State class.

Properties

DisplayName DisplayName DisplayName DisplayName

Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.

Entry Entry Entry Entry

Gets or sets the activity performed when entering the state.

Exit Exit Exit Exit

Gets or sets the activity performed when exiting the state.

IsFinal IsFinal IsFinal IsFinal

Gets or sets whether the state is a final state.

Transitions Transitions Transitions Transitions

Gets the collection of transitions that come from this state.

Variables Variables Variables Variables

Gets the collection of variable objects associated with the state.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to