Table of Contents

Class RecoveringConsumerEventArgs

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

Event related to consumer recovery, during automatic recovery.

public class RecoveringConsumerEventArgs : AsyncEventArgs
Inheritance
RecoveringConsumerEventArgs
Inherited Members

Constructors

RecoveringConsumerEventArgs(string, IDictionary<string, object?>?, CancellationToken)

Constructs an event containing the consumer arguments and consumer tag of the consumer this event relates to.

public RecoveringConsumerEventArgs(string consumerTag, IDictionary<string, object?>? consumerArguments, CancellationToken cancellationToken = default)

Parameters

consumerTag string

Consumer arguments of the consumer for this event

consumerArguments IDictionary<string, object>

Consumer tag of the consumer for this event

cancellationToken CancellationToken

The cancellation token.

Properties

ConsumerArguments

Access the consumer tag of the consumer this event relates to.

public IDictionary<string, object?>? ConsumerArguments { get; }

Property Value

IDictionary<string, object>

ConsumerTag

Access the consumer arguments of the consumer this event relates to.

public string ConsumerTag { get; }

Property Value

string