Method ReadPageAsync
- Namespace
- MailFathom.Application.Retrieval.AskMail.Audit
- Assembly
- MailFathom.Application.dll
ReadPageAsync(MailAnsweringAuditQuery, CancellationToken)
Reads one page of an account's answering record.
public Task<MailAnsweringAuditPage> ReadPageAsync(MailAnsweringAuditQuery query, CancellationToken cancellationToken)
Parameters
queryMailAnsweringAuditQueryThe account, the filters, and where the page continues from.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<MailAnsweringAuditPage>
The page, and the cursor the following one is asked with.
Exceptions
- ArgumentNullException
Thrown when
queryis null.- PrincipalNotAuthorizedException
Thrown when the use case was reached by anything but a caller granted AdminAuditRead.
- OperationCanceledException
Thrown when the caller cancels.