Table of Contents

Interface IMethod

Namespace
RabbitMQ.Client
Assembly
RabbitMQ.Client.dll

A decoded AMQP method frame.

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

ProtocolClassId

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

ushort ProtocolClassId { get; }

Property Value

ushort

ProtocolMethodId

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

ushort ProtocolMethodId { get; }

Property Value

ushort

ProtocolMethodName

Retrieves the name of this method - for debugging use.

string ProtocolMethodName { get; }

Property Value

string