Interface IMethod
A decoded AMQP method frame.
Namespace: RabbitMQ.Client
Assembly: RabbitMQ.Client.dll
Syntax
public interface IMethod
Remarks
AMQP methods can be RPC requests, RPC responses, exceptions (ChannelClose, ConnectionClose), or one-way asynchronous messages. Currently this information is not recorded in their type or interface: it is implicit in the way the method is used, and the way it is defined in the AMQP specification. A future revision of the RabbitMQ .NET client library may extend the IMethod interface to represent this information explicitly.
Properties
| Edit this page View SourceProtocolClassId
Retrieves the class ID number of this method, as defined in the AMQP specification XML.
Declaration
ushort ProtocolClassId { get; }
Property Value
Type | Description |
---|---|
ushort |
ProtocolMethodId
Retrieves the method ID number of this method, as defined in the AMQP specification XML.
Declaration
ushort ProtocolMethodId { get; }
Property Value
Type | Description |
---|---|
ushort |
ProtocolMethodName
Retrieves the name of this method - for debugging use.
Declaration
string ProtocolMethodName { get; }
Property Value
Type | Description |
---|---|
string |