Table of Contents

Method GetDeletesLeftFlaggedAsync

Namespace
MailFathom.Application.Synchronization.Reconciliation
Assembly
MailFathom.Application.dll

GetDeletesLeftFlaggedAsync(MailAccountId, MailFolderResolutionId, ImapUidValidity, int, CancellationToken)

Reads the occurrences of one folder binding that deletes left flagged and that are still followed.

Task<IReadOnlyList<DeleteLeftFlagged>> GetDeletesLeftFlaggedAsync(MailAccountId account, MailFolderResolutionId folderResolutionId, ImapUidValidity uidValidity, int maxCount, CancellationToken cancellationToken)

Parameters

account MailAccountId

The account the folder belongs to.

folderResolutionId MailFolderResolutionId

The binding the occurrences belong to.

uidValidity ImapUidValidity

The UIDVALIDITY the open session reports, which the occurrences must have been recorded under.

maxCount int

The greatest number of occurrences to return.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<IReadOnlyList<DeleteLeftFlagged>>

The occurrences read longest ago first, never more than maxCount.