Table of Contents

Constructor MailboxMutationPerformer

Namespace
MailFathom.Application.Mail.Mutations
Assembly
MailFathom.Application.dll

MailboxMutationPerformer(IMailboxMutationRecordStore, IMailboxWriteSessionFactory, OptimisticConcurrencyRetryPolicy, IMailboxMutationAuditTrail, MailboxMutationOptions)

Initializes the performer from the record store, the write session it acts through, and its attempt bound.

public MailboxMutationPerformer(IMailboxMutationRecordStore store, IMailboxWriteSessionFactory writeSessionFactory, OptimisticConcurrencyRetryPolicy commitPolicy, IMailboxMutationAuditTrail auditTrail, MailboxMutationOptions options)

Parameters

store IMailboxMutationRecordStore

Keeps the durable record every mutation is written to.

writeSessionFactory IMailboxWriteSessionFactory

Opens the one session able to change a mailbox.

commitPolicy OptimisticConcurrencyRetryPolicy

Commits the record's first write, retrying an optimistic conflict.

auditTrail IMailboxMutationAuditTrail

Keeps the history a finished mutation leaves behind, where the account asked for one.

options MailboxMutationOptions

Supplies how many attempts one mutation may spend.

Exceptions

ArgumentNullException

Thrown when a required collaborator is null.

ArgumentOutOfRangeException

Thrown when the configured attempt bound is below one.