Table of Contents

Method ListAsync

Namespace
MailFathom.Application.Mail.Export
Assembly
MailFathom.Application.dll

ListAsync(MailAccountId, int, CancellationToken)

Reads the account's exports, newest first.

Task<IReadOnlyList<MailboxExport>> ListAsync(MailAccountId account, int limit, CancellationToken cancellationToken)

Parameters

account MailAccountId

The account asked about.

limit int

How many rows to read at most.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<IReadOnlyList<MailboxExport>>

The exports, newest first.

Exceptions

ArgumentOutOfRangeException

Thrown when limit is not positive.