Class BasicReturnEventArgs
Contains all the information about a message returned from an AMQP broker within the Basic content-class.
public class BasicReturnEventArgs : AsyncEventArgs
- Inheritance
-
BasicReturnEventArgs
- Inherited Members
Constructors
BasicReturnEventArgs(ushort, string, string, string, IReadOnlyBasicProperties, ReadOnlyMemory<byte>, CancellationToken)
public BasicReturnEventArgs(ushort replyCode, string replyText, string exchange, string routingKey, IReadOnlyBasicProperties basicProperties, ReadOnlyMemory<byte> body, CancellationToken cancellationToken = default)
Parameters
replyCode
ushortreplyText
stringexchange
stringroutingKey
stringbasicProperties
IReadOnlyBasicPropertiesbody
ReadOnlyMemory<byte>cancellationToken
CancellationToken
Fields
BasicProperties
The content header of the message.
public readonly IReadOnlyBasicProperties BasicProperties
Field Value
Body
The message body.
public readonly ReadOnlyMemory<byte> Body
Field Value
Exchange
The exchange the returned message was originally published to.
public readonly string Exchange
Field Value
ReplyCode
The AMQP reason code for the return. See RabbitMQ.Client.Framing.*.Constants.
public readonly ushort ReplyCode
Field Value
ReplyText
Human-readable text from the broker describing the reason for the return.
public readonly string ReplyText
Field Value
RoutingKey
The routing key used when the message was originally published.
public readonly string RoutingKey