Table of Contents

Method RecordOutcome

Namespace
MailFathom.Application.Retrieval.AskMail
Assembly
MailFathom.Application.dll

RecordOutcome(MailAnsweringRunOutcome, IReadOnlyList<StoredEmailId>, DateTimeOffset)

Records how the run ended and which of the mail it read the answer went on to name.

public void RecordOutcome(MailAnsweringRunOutcome outcome, IReadOnlyList<StoredEmailId> citedEmailIds, DateTimeOffset completedAt)

Parameters

outcome MailAnsweringRunOutcome

How the run ended.

citedEmailIds IReadOnlyList<StoredEmailId>

The emails the published answer named, which is empty for every ending but an answered one.

completedAt DateTimeOffset

When the run reached that ending.

Exceptions

ArgumentNullException

Thrown when citedEmailIds is null.