Show / Hide Table of Contents

Class BasicDeliverEventArgs

Contains all the information about a message delivered from an AMQP broker within the Basic content-class.

Inheritance
System.Object
System.EventArgs
BasicDeliverEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: RabbitMQ.Client.Events
Assembly: RabbitMQ.Client.dll
Syntax
public class BasicDeliverEventArgs : EventArgs

Constructors

| Improve this Doc View Source

BasicDeliverEventArgs()

Default constructor.

Declaration
public BasicDeliverEventArgs()
| Improve this Doc View Source

BasicDeliverEventArgs(String, UInt64, Boolean, String, String, IBasicProperties, ReadOnlyMemory<Byte>)

Constructor that fills the event's properties from its arguments.

Declaration
public BasicDeliverEventArgs(string consumerTag, ulong deliveryTag, bool redelivered, string exchange, string routingKey, IBasicProperties properties, ReadOnlyMemory<byte> body)
Parameters
Type Name Description
System.String consumerTag
System.UInt64 deliveryTag
System.Boolean redelivered
System.String exchange
System.String routingKey
IBasicProperties properties
System.ReadOnlyMemory<System.Byte> body

Properties

| Improve this Doc View Source

BasicProperties

The content header of the message.

Declaration
public IBasicProperties BasicProperties { get; set; }
Property Value
Type Description
IBasicProperties
| Improve this Doc View Source

Body

The message body.

Declaration
public ReadOnlyMemory<byte> Body { get; set; }
Property Value
Type Description
System.ReadOnlyMemory<System.Byte>
| Improve this Doc View Source

ConsumerTag

The consumer tag of the consumer that the message was delivered to.

Declaration
public string ConsumerTag { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DeliveryTag

The delivery tag for this delivery. See IModel.BasicAck.

Declaration
public ulong DeliveryTag { get; set; }
Property Value
Type Description
System.UInt64
| Improve this Doc View Source

Exchange

The exchange the message was originally published to.

Declaration
public string Exchange { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Redelivered

The AMQP "redelivered" flag.

Declaration
public bool Redelivered { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

RoutingKey

The routing key used when the message was originally published.

Declaration
public string RoutingKey { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX