Table of Contents

Method ReadPageAsync

Namespace
MailFathom.Application.Mail.Delivery.Operations
Assembly
MailFathom.Application.dll

ReadPageAsync(OutboxQuery, CancellationToken)

Reads one page of the sends this deployment has recorded.

public Task<OutboxPage> ReadPageAsync(OutboxQuery query, CancellationToken cancellationToken)

Parameters

query OutboxQuery

The filters and where the page continues from.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<OutboxPage>

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 AdminRead.

OperationCanceledException

Thrown when the caller cancels.