Table of Contents

Constructor UnmirroredMailFolderEraser

Namespace
MailFathom.Application.Folders
Assembly
MailFathom.Application.dll

UnmirroredMailFolderEraser(IStoredMailFolderMirrorStore, IMailFolderMappingReader, OptimisticConcurrencyRetryPolicy, MailboxSynchronizationOptions, AccessAuthorization)

Initializes the eraser.

public UnmirroredMailFolderEraser(IStoredMailFolderMirrorStore mirrorStore, IMailFolderMappingReader mappings, OptimisticConcurrencyRetryPolicy concurrencyRetryPolicy, MailboxSynchronizationOptions options, AccessAuthorization authorization)

Parameters

mirrorStore IStoredMailFolderMirrorStore

Removes the stored mail of one folder and clears its checkpoint.

mappings IMailFolderMappingReader

Says what the account's configuration makes of the folder, which is what answers whether its source keeps messages there.

concurrencyRetryPolicy OptimisticConcurrencyRetryPolicy

Commits one pass, retrying a conflict with a competing writer.

options MailboxSynchronizationOptions

Bounds one pass, reusing the bound the backward pass over stored mail already carries.

authorization AccessAuthorization

Answers which principal reached this use case.

Exceptions

ArgumentNullException

Thrown when any argument is null.