Class MessageBrokerServerStateException
- Namespace
- LfrlAnvil.MessageBroker.Server.Exceptions
- Assembly
- LfrlAnvil.MessageBroker.Server.dll
Represents an exception thrown when MessageBrokerServer is in an invalid state.
public class MessageBrokerServerStateException : InvalidOperationException, ISerializable
- Inheritance
-
MessageBrokerServerStateException
- Implements
- Inherited Members
Constructors
MessageBrokerServerStateException(MessageBrokerServer, MessageBrokerServerState, MessageBrokerServerState)
Creates a new MessageBrokerServerStateException instance.
public MessageBrokerServerStateException(MessageBrokerServer server, MessageBrokerServerState actual, MessageBrokerServerState expected)
Parameters
serverMessageBrokerServerMessageBrokerServer in an invalid state.
actualMessageBrokerServerStateCurrent invalid client state.
expectedMessageBrokerServerStateExpected client state.
Properties
Actual
Current invalid server state.
public MessageBrokerServerState Actual { get; }
Property Value
Expected
Expected server state.
public MessageBrokerServerState Expected { get; }
Property Value
Server
MessageBrokerServer in an invalid state.
public MessageBrokerServer Server { get; }