Class MailboxQueryPageSizeOutOfRangeException
- Namespace
- MailFathom.Application.Emails.Mailboxes
- Assembly
- MailFathom.Application.dll
The failure raised when a mailbox query asks for a page size outside the range the query serves.
public sealed class MailboxQueryPageSizeOutOfRangeException : MailFathomException, ISerializable
- Inheritance
-
MailboxQueryPageSizeOutOfRangeException
- Implements
- Inherited Members
Remarks
An out-of-range page size is refused rather than clamped to the maximum, because the two answers differ in what the caller learns: a clamped page looks like the page that was asked for, so a client walking a mailbox in pages of a thousand would silently receive a hundredth of what it planned for and would have no reason to look. An absent page size is a different input and takes the default instead.
Constructors
- MailboxQueryPageSizeOutOfRangeException(int, int)
Initializes the failure for one rejected page size.
Properties
- ErrorCode
Gets the stable code identifying this failure to a boundary that must report it without naming a type.
- MaximumPageSize
Gets the greatest page size the query serves.
- RequestedPageSize
Gets the page size the request asked for.