Table of Contents

Class LocalMailFolderMailErasureHandler

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

Erases the mail of a held account's erased folders a bounded pass at a time.

public sealed class LocalMailFolderMailErasureHandler : IJobHandler
Inheritance
LocalMailFolderMailErasureHandler
Implements
Inherited Members

Remarks

The bound is the one the backward pass over stored mail and the erasure of an unmirrored folder already carry, rather than a second setting nobody configured, so one pass is one transaction of a known size however much the folders held.

Constructors

LocalMailFolderMailErasureHandler(ILocalMailFolderStore, OptimisticConcurrencyRetryPolicy, MailboxSynchronizationOptions, IJobStore)

Initializes a new instance of the LocalMailFolderMailErasureHandler class.

Properties

JobType

Gets the job type this handler runs, which is also the contract its payload arrives under.

Methods

RunAsync(IJobPayload, CancellationToken)

Runs the work the payload describes.