Class RateLimiterAdapterRejectedException

Namespace
Kevlar.Extensions.RateLimiting
Assembly
Kevlar.Extensions.RateLimiting.dll

Thrown when a System.Threading.RateLimiting adapter rejects an execution.

public sealed class RateLimiterAdapterRejectedException : ExecutionRejectedException, ISerializable
Inheritance
RateLimiterAdapterRejectedException
Implements
Inherited Members

Constructors

RateLimiterAdapterRejectedException()

Initializes an adapter rejection without a retry estimate.

public RateLimiterAdapterRejectedException()

RateLimiterAdapterRejectedException(TimeSpan?)

Initializes an adapter rejection with an optional retry estimate.

public RateLimiterAdapterRejectedException(TimeSpan? retryAfter)

Parameters

retryAfter TimeSpan?

RateLimiterAdapterRejectedException(string)

Initializes an adapter rejection with a custom message.

public RateLimiterAdapterRejectedException(string message)

Parameters

message string

RateLimiterAdapterRejectedException(string, Exception)

Initializes an adapter rejection with a custom message and cause.

public RateLimiterAdapterRejectedException(string message, Exception innerException)

Parameters

message string
innerException Exception