Table of Contents

Method ReadPageAsync

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

ReadPageAsync(DeadLetteredJobQuery, CancellationToken)

Serves one bounded page of the jobs nothing will attempt again.

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

Parameters

query DeadLetteredJobQuery

Which jobs, and how the page is narrowed and continued.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<DeadLetteredJobPage>

The page, and the boundary the next one is asked with where the reading continues.

Remarks

A job whose type this build does not declare is left out rather than reported under a name nothing runs, which is what keeps a rolling deployment's older rows from reading as work this instance could act on.

Exceptions

ArgumentNullException

Thrown when query is null.