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
accountMailAccountIdThe account.
maximumRecordsintThe most records to read, which is a ceiling rather than a page.
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<IReadOnlyList<MailboxRestoreAppend>>
The records, oldest first, bounded by what was asked for.
Exceptions
- ArgumentOutOfRangeException
Thrown when
maximumRecordsis not positive.