Class ProtocolVersionMismatchException
- Namespace
- RabbitMQ.Client.Exceptions
- Assembly
- RabbitMQ.Client.dll
Thrown to indicate that the peer does not support the wire protocol version we requested immediately after opening the TCP socket.
[Serializable]
public class ProtocolVersionMismatchException : ProtocolViolationException, ISerializable
- Inheritance
-
ProtocolVersionMismatchException
- Implements
- Inherited Members
Constructors
ProtocolVersionMismatchException(int, int, int, int)
Fills the new instance's properties with the values passed in.
public ProtocolVersionMismatchException(int clientMajor, int clientMinor, int serverMajor, int serverMinor)
Parameters
Properties
ClientMajor
The client's AMQP specification major version.
public int ClientMajor { get; }
Property Value
ClientMinor
The client's AMQP specification minor version.
public int ClientMinor { get; }
Property Value
ServerMajor
The peer's AMQP specification major version.
public int ServerMajor { get; }
Property Value
ServerMinor
The peer's AMQP specification minor version.
public int ServerMinor { get; }