Constructor MailDraftFilingResult
- Namespace
- MailFathom.Application.Mail.Delivery.Drafts
- Assembly
- MailFathom.Application.dll
MailDraftFilingResult(MailDraftId, MailDraftFilingOutcome, MailFathomErrorCode?, MailDraftDivergenceReason?)
Reports what one attempt against the mailbox did for one draft, already durable by the time it is read.
public MailDraftFilingResult(MailDraftId DraftId, MailDraftFilingOutcome Outcome, MailFathomErrorCode? Failure, MailDraftDivergenceReason? Divergence)
Parameters
DraftIdMailDraftIdThe draft the attempt was about.
OutcomeMailDraftFilingOutcomeWhat it did.
FailureMailFathomErrorCode?The code identifying what ended it, or null when nothing did.
DivergenceMailDraftDivergenceReason?Why the tracked copy was left alone, or null when none was.
Remarks
It names the draft rather than the message, and carries a code rather than a sentence. Nothing here is a subject, an address, or a line of what somebody wrote, which is what lets the whole result reach a log line and a counter.