Class RateLimitExceededException

Namespace
Kevlar
Assembly
Kevlar.dll

Thrown when a rate limit strategy rejects an execution.

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

Constructors

RateLimitExceededException()

Initializes a rate-limit rejection without a retry estimate.

public RateLimitExceededException()

RateLimitExceededException(TimeSpan?)

Initializes the exception.

public RateLimitExceededException(TimeSpan? retryAfter)

Parameters

retryAfter TimeSpan?

RateLimitExceededException(string)

Initializes a rate-limit rejection with a custom message.

public RateLimitExceededException(string message)

Parameters

message string

RateLimitExceededException(string, Exception)

Initializes a rate-limit rejection with a custom message and cause.

public RateLimitExceededException(string message, Exception innerException)

Parameters

message string
innerException Exception