Table of Contents

Class TooManyRequestsException

Namespace
Cuemon.AspNetCore.Http
Assembly
Cuemon.AspNetCore.dll

The exception that is thrown when the user has sent too many requests in a given amount of time ("rate limiting").

public class TooManyRequestsException : HttpStatusCodeException, ISerializable
Inheritance
Object
Exception
TooManyRequestsException
Implements
ISerializable
Derived
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState

Constructors

TooManyRequestsException()

Initializes a new instance of the TooManyRequestsException class.

public TooManyRequestsException()

TooManyRequestsException(Exception)

Initializes a new instance of the TooManyRequestsException class.

public TooManyRequestsException(Exception innerException)

Parameters

innerException Exception

The exception that is the cause of the current exception.

TooManyRequestsException(String, Exception)

Initializes a new instance of the TooManyRequestsException class.

public TooManyRequestsException(string message, Exception innerException = null)

Parameters

message String

The message that describes the HTTP status code.

innerException Exception

The exception that is the cause of the current exception.

See Also