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
ExpectedProtocolMethodId
Retrieves the expected method ID number of this method, as defined in the AMQP specification XML.
public ushort ExpectedProtocolMethodId { get; }
Property Value
ExpectedProtocolMethodName
Retrieves the expected name of this method - for debugging use.
public string ExpectedProtocolMethodName { get; }
Property Value
ProtocolClassId
Retrieves the class ID number of this method, as defined in the AMQP specification XML.
public ushort ProtocolClassId { get; }
Property Value
ProtocolMethodId
Retrieves the method ID number of this method, as defined in the AMQP specification XML.
public ushort ProtocolMethodId { get; }
Property Value
ProtocolMethodName
Retrieves the name of this method - for debugging use.
public string ProtocolMethodName { get; }