Table of Contents

Method FindAsync

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

FindAsync(MailAccountId, MailboxExportId, CancellationToken)

Reads one export of one account.

Task<MailboxExport?> FindAsync(MailAccountId account, MailboxExportId exportId, CancellationToken cancellationToken)

Parameters

account MailAccountId

The account the export belongs to.

exportId MailboxExportId

The export's identity.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<MailboxExport>

The export, or null where that account holds none under that identity.

Remarks

The account is part of the question rather than a filter applied afterwards, so an identity minted for another mailbox answers as absent rather than as found.