Table of Contents

Method ReadPageAsync

Namespace
MailFathom.Application.Contacts
Assembly
MailFathom.Application.dll

ReadPageAsync(ContactPageRequest, CancellationToken)

Serves one bounded page of the book.

public Task<ContactPage> ReadPageAsync(ContactPageRequest request, CancellationToken cancellationToken)

Parameters

request ContactPageRequest

What the caller asked the page for.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<ContactPage>

The page, with the boundary a following one reads beyond.

Exceptions

ArgumentNullException

Thrown when request is null.

PrincipalNotAuthorizedException

Thrown when the caller does not hold the reading grant.

ContactQueryInvalidException

Thrown when the page size, the origin, or the search text is not one the book serves.

ContactCursorMalformedException

Thrown when the cursor is not one this system issued.