Table of Contents

Class BasicNackEventArgs

Namespace
RabbitMQ.Client.Events
Assembly
RabbitMQ.Client.dll

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

public class BasicNackEventArgs : AsyncEventArgs
Inheritance
BasicNackEventArgs
Inherited Members

Constructors

BasicNackEventArgs(ulong, bool, bool, CancellationToken)

public BasicNackEventArgs(ulong deliveryTag, bool multiple, bool requeue, CancellationToken cancellationToken = default)

Parameters

deliveryTag ulong
multiple bool
requeue bool
cancellationToken CancellationToken

Fields

DeliveryTag

The sequence number of the nack'd message, or the closed upper bound of nack'd messages if multiple is true.

public readonly ulong DeliveryTag

Field Value

ulong

Multiple

Whether this nack applies to one message or multiple messages.

public readonly bool Multiple

Field Value

bool

Requeue

Ignore

public readonly bool Requeue

Field Value

bool

Remarks

Clients should ignore this field.