Bewerken

Delen via


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
State

Constructors

State()

Initializes a new instance of the State class.

Properties

DisplayName

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

Entry

Gets or sets the activity performed when entering the state.

Exit

Gets or sets the activity performed when exiting the state.

IsFinal

Gets or sets whether the state is a final state.

Transitions

Gets the collection of transitions that come from this state.

Variables

Gets the collection of variable objects associated with the state.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to