Table of Contents

Method ReadPageAsync

Namespace
MailFathom.Application.Jobs.DeadLetters
Assembly
MailFathom.Application.dll

ReadPageAsync(DeadLetteredJobQuery, CancellationToken)

Reads one page of the jobs nothing will attempt again.

public Task<DeadLetteredJobPage> ReadPageAsync(DeadLetteredJobQuery query, CancellationToken cancellationToken)

Parameters

query DeadLetteredJobQuery

The filters and where the page continues from.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<DeadLetteredJobPage>

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.