Table of Contents

Method ReadUnansweredAppendsAsync

Namespace
MailFathom.Application.Synchronization.Restore
Assembly
MailFathom.Application.dll

ReadUnansweredAppendsAsync(MailAccountId, int, CancellationToken)

Reads the appends of one account whose answer never came back.

Task<IReadOnlyList<MailboxRestoreAppend>> ReadUnansweredAppendsAsync(MailAccountId account, int maximumRecords, CancellationToken cancellationToken)

Parameters

account MailAccountId

The account.

maximumRecords int

The most records to read, which is a ceiling rather than a page.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<IReadOnlyList<MailboxRestoreAppend>>

The records, oldest first, bounded by what was asked for.

Exceptions

ArgumentOutOfRangeException

Thrown when maximumRecords is not positive.