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