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
DomExceptionQuotaExceededError
Constructors
| Name | Description |
|---|---|
| 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.cshttps://webidl.spec.whatwg.org/#dom-quotaexceedederror-quotaexceedederror
public QuotaExceededError()QuotaExceededError(string?)
QuotaExceededError.csQuotaExceededError(string, QuotaExceededErrorOptions?)
QuotaExceededError.cshttps://webidl.spec.whatwg.org/#dom-quotaexceedederror-quotaexceedederror
public QuotaExceededError(string message, QuotaExceededErrorOptions? options)QuotaExceededError(string?, Exception?)
QuotaExceededError.csCreates a QuotaExceededError with a message and an inner exception.
Parameters
messagestring?innerExceptionException?
QuotaExceededError(string, double?, double?)
QuotaExceededError.csProperties
| Name | Description |
|---|---|
| Quota | Gets the quota, or null when it is unknown. |
| Requested | Gets the requested amount, or null when it is unknown. |
Gets the quota, or null when it is unknown.
public double? Quota { get; }Requested
QuotaExceededError.csGets the requested amount, or null when it is unknown.
public double? Requested { get; }