State¶
-
T IStateMachine.State { get; set; }¶
Gets or sets the state of the state machine.
- Value
T – State of the state machine.
- Throws
InvalidArgumentException
– Unknown state specified.InvalidConfigException
– Requested state transition not possible due to invalid configuration.UnsupportedException
– Changing states not supported, i.e. state machine is read-only.InvalidOperationException
– Requested state transition is invalid.CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.IncompatibleException
– Incompatible firmware version loaded (only applicable if entity is a controller).