Table of Contents

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, _Exception
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

clientMajor int
clientMinor int
serverMajor int
serverMinor int

Properties

ClientMajor

The client's AMQP specification major version.

public int ClientMajor { get; }

Property Value

int

ClientMinor

The client's AMQP specification minor version.

public int ClientMinor { get; }

Property Value

int

ServerMajor

The peer's AMQP specification major version.

public int ServerMajor { get; }

Property Value

int

ServerMinor

The peer's AMQP specification minor version.

public int ServerMinor { get; }

Property Value

int