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
querySpamClassificationHistoryQueryThe validated filters and the boundary the page continues from.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<SpamClassificationHistoryPage>
The page, with the cursor for the following one where more records match.
Exceptions
- ArgumentNullException
Thrown when
queryis null.