<PackageReference Include="Polly" Version="8.5.2" />

RateLimitRejectedException

Exception thrown when a delegate executed through a IRateLimitPolicy is rate-limited.
public TimeSpan RetryAfter { get; }

Gets the timespan after which the operation may be retried.

Initializes a new instance of the RateLimitRejectedException class.

public RateLimitRejectedException(string message)

Initializes a new instance of the RateLimitRejectedException class.

public RateLimitRejectedException(string message, Exception inner)

Initializes a new instance of the RateLimitRejectedException class.

Initializes a new instance of the RateLimitRejectedException class.

public RateLimitRejectedException(TimeSpan retryAfter, Exception innerException)

Initializes a new instance of the RateLimitRejectedException class.

public RateLimitRejectedException(TimeSpan retryAfter, string message)

Initializes a new instance of the RateLimitRejectedException class.

public RateLimitRejectedException(TimeSpan retryAfter, string message, Exception innerException)

Initializes a new instance of the RateLimitRejectedException class.