Table of Contents

Constructor MailboxMutationPerformer

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

MailboxMutationPerformer(IMailboxMutationRecordStore, IMailboxWriteSessionFactory, OptimisticConcurrencyRetryPolicy, 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, 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.

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.