QuotaExceededError Class

The exception thrown when a quota is exceeded (https://webidl.spec.whatwg.org/#quotaexceedederror): a DomException named QuotaExceededError, with the quota and the requested amount when they are known.

public sealed class QuotaExceededError : DomException
Inheritance
DomException QuotaExceededError

Constructors

NameDescription
QuotaExceededError()https://webidl.spec.whatwg.org/#dom-quotaexceedederror-quotaexceedederror
QuotaExceededError(string?)https://webidl.spec.whatwg.org/#dom-quotaexceedederror-quotaexceedederror
QuotaExceededError(string, QuotaExceededErrorOptions?)https://webidl.spec.whatwg.org/#dom-quotaexceedederror-quotaexceedederror
QuotaExceededError(string?, Exception?)Creates a QuotaExceededError with a message and an inner exception.
QuotaExceededError(string, double?, double?)Creates an exception with the given quota and requested amount (null when unknown).

QuotaExceededError overloads

QuotaExceededError()

QuotaExceededError.cs

https://webidl.spec.whatwg.org/#dom-quotaexceedederror-quotaexceedederror

public QuotaExceededError()

QuotaExceededError(string?)

QuotaExceededError.cs

https://webidl.spec.whatwg.org/#dom-quotaexceedederror-quotaexceedederror

public QuotaExceededError(string? message)

QuotaExceededError(string, QuotaExceededErrorOptions?)

QuotaExceededError.cs

https://webidl.spec.whatwg.org/#dom-quotaexceedederror-quotaexceedederror

public QuotaExceededError(string message, QuotaExceededErrorOptions? options)

QuotaExceededError(string?, Exception?)

QuotaExceededError.cs

Creates a QuotaExceededError with a message and an inner exception.

public QuotaExceededError(string? message, Exception? innerException)
Parameters
message string?
innerException Exception?

QuotaExceededError(string, double?, double?)

QuotaExceededError.cs

Creates an exception with the given quota and requested amount (null when unknown).

public QuotaExceededError(string message, double? quota, double? requested)
Parameters
message string
quota double?
requested double?

Properties

NameDescription
QuotaGets the quota, or null when it is unknown.
RequestedGets the requested amount, or null when it is unknown.

Gets the quota, or null when it is unknown.

public double? Quota { get; }

Gets the requested amount, or null when it is unknown.

public double? Requested { get; }