Table of Contents

Method ListAsync

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

ListAsync(MailAccountId, CancellationToken)

Reads the exports this account has, newest first.

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

Parameters

account MailAccountId

The account asked about.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<IReadOnlyList<MailboxExport>>

The exports.

Exceptions

PrincipalNotAuthorizedException

Thrown when the caller does not hold the export permission.