Class InvalidConnectionStateException
- Namespace
- RDCore.SDK.Client.Connection
- Assembly
- RDCore.SDK.dll
Thrown when a ChildConnection is asked to make an illegal state transition.
public sealed class InvalidConnectionStateException : Exception, ISerializable
- Inheritance
-
InvalidConnectionStateException
- Implements
- Inherited Members
Constructors
InvalidConnectionStateException(ConnectionStateValue, ConnectionStateValue)
Thrown when a ChildConnection is asked to make an illegal state transition.
public InvalidConnectionStateException(ConnectionStateValue from, ConnectionStateValue to)
Parameters
fromConnectionStateValueThe state the connection was in.
toConnectionStateValueThe state the connection was asked to move to.
Properties
From
The state the connection was in.
public ConnectionStateValue From { get; }
Property Value
To
The state the connection was asked to move to.
public ConnectionStateValue To { get; }