Table of Contents

Method ReadPageAsync

Namespace
MailFathom.Application.Spam.History
Assembly
MailFathom.Application.dll

ReadPageAsync(SpamClassificationHistoryQuery, CancellationToken)

Reads one bounded page of an account's classifications, newest first.

Task<SpamClassificationHistoryPage> ReadPageAsync(SpamClassificationHistoryQuery query, CancellationToken cancellationToken)

Parameters

query SpamClassificationHistoryQuery

The validated filters and the boundary the page continues from.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<SpamClassificationHistoryPage>

The page, with the cursor for the following one where more records match.

Exceptions

ArgumentNullException

Thrown when query is null.