Method GetDeletesLeftFlaggedAsync
- 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
accountMailAccountIdThe account the folder belongs to.
folderResolutionIdMailFolderResolutionIdThe binding the occurrences belong to.
uidValidityImapUidValidityThe UIDVALIDITY the open session reports, which the occurrences must have been recorded under.
maxCountintThe greatest number of occurrences to return.
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<IReadOnlyList<DeleteLeftFlagged>>
The occurrences read longest ago first, never more than
maxCount.