Table of Contents

Constructor AuthoredMailDeletionResult

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

AuthoredMailDeletionResult(MailDeletionOutcome, MailboxMutationRecordId?, MailboxMutationLifecycle?)

What one authored delete became: the durable record that now carries it, or the reason there is none.

public AuthoredMailDeletionResult(MailDeletionOutcome Outcome, MailboxMutationRecordId? RecordId, MailboxMutationLifecycle? Lifecycle)

Parameters

Outcome MailDeletionOutcome

What happened.

RecordId MailboxMutationRecordId?

The record everything afterwards refers to the delete by, present only where one was opened.

Lifecycle MailboxMutationLifecycle?

Where that record stands, which is pending for a delete nothing has attempted yet.

Remarks

It reports what was written down rather than what a mail server has done, because at the moment this is produced no command has gone out. The lifecycle is reported rather than assumed to be pending for the reason a move's is: a request repeated under the identity that already produced a record is answered with that record and the stage it has since reached, so a caller retrying learns its delete is already on its way instead of opening a second one.