Table of Contents

Class UnexpectedMethodException

Namespace
RabbitMQ.Client.Exceptions
Assembly
RabbitMQ.Client.dll

Thrown when the channel receives an RPC reply that it wasn't expecting.

[Serializable]
public class UnexpectedMethodException : ProtocolViolationException, ISerializable
Inheritance
UnexpectedMethodException
Implements
Inherited Members

Properties

ExpectedProtocolClassId

Retrieves the expected class ID number of this method, as defined in the AMQP specification XML.

public ushort ExpectedProtocolClassId { get; }

Property Value

ushort

ExpectedProtocolMethodId

Retrieves the expected method ID number of this method, as defined in the AMQP specification XML.

public ushort ExpectedProtocolMethodId { get; }

Property Value

ushort

ExpectedProtocolMethodName

Retrieves the expected name of this method - for debugging use.

public string ExpectedProtocolMethodName { get; }

Property Value

string

ProtocolClassId

Retrieves the class ID number of this method, as defined in the AMQP specification XML.

public ushort ProtocolClassId { get; }

Property Value

ushort

ProtocolMethodId

Retrieves the method ID number of this method, as defined in the AMQP specification XML.

public ushort ProtocolMethodId { get; }

Property Value

ushort

ProtocolMethodName

Retrieves the name of this method - for debugging use.

public string ProtocolMethodName { get; }

Property Value

string