Table of Contents

Method ReadPageAsync

Namespace
MailFathom.Application.Mail.Mutations.Audit
Assembly
MailFathom.Application.dll

ReadPageAsync(MailboxMutationAuditQuery, CancellationToken)

Reads one page of an account's audit trail.

public Task<MailboxMutationAuditPage> ReadPageAsync(MailboxMutationAuditQuery query, CancellationToken cancellationToken)

Parameters

query MailboxMutationAuditQuery

The account, the filters, and where the page continues from.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<MailboxMutationAuditPage>

The page, and the cursor the following one is asked with.

Exceptions

ArgumentNullException

Thrown when query is null.

PrincipalNotAuthorizedException

Thrown when the use case was reached by anything but a caller granted AdminAuditRead.

OperationCanceledException

Thrown when the caller cancels.