Table of Contents

Class ConnectionBlockedEventArgs

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

Event relating to connection being blocked.

public class ConnectionBlockedEventArgs : AsyncEventArgs
Inheritance
ConnectionBlockedEventArgs
Inherited Members

Constructors

ConnectionBlockedEventArgs(string, CancellationToken)

public ConnectionBlockedEventArgs(string reason, CancellationToken cancellationToken = default)

Parameters

reason string
cancellationToken CancellationToken

Fields

Reason

Access the reason why connection is blocked.

public readonly string Reason

Field Value

string