Class UnknownClassOrMethodException
Thrown when the protocol handlers detect an unknown class number or method number.
Inheritance
UnknownClassOrMethodException
Inherited Members
Namespace: RabbitMQ.Client.Exceptions
Assembly: RabbitMQ.Client.dll
Syntax
public class UnknownClassOrMethodException : HardProtocolException, ISerializable, _Exception
Constructors
| Edit this page View SourceUnknownClassOrMethodException(ushort, ushort)
Declaration
public UnknownClassOrMethodException(ushort classId, ushort methodId)
Parameters
Type | Name | Description |
---|---|---|
ushort | classId | |
ushort | methodId |
Properties
| Edit this page View SourceClassId
The AMQP content-class ID.
Declaration
public ushort ClassId { get; }
Property Value
Type | Description |
---|---|
ushort |
MethodId
The AMQP method ID within the content-class, or 0 if none.
Declaration
public ushort MethodId { get; }
Property Value
Type | Description |
---|---|
ushort |
ReplyCode
Retrieve the reply code to use in a connection/channel close method.
Declaration
public override ushort ReplyCode { get; }
Property Value
Type | Description |
---|---|
ushort |
Overrides
Methods
| Edit this page View SourceToString()
Creates and returns a string representation of the current exception.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of the current exception. |