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
outcomeMailAnsweringRunOutcomeHow the run ended.
citedEmailIdsIReadOnlyList<StoredEmailId>The emails the published answer named, which is empty for every ending but an answered one.
completedAtDateTimeOffsetWhen the run reached that ending.
Exceptions
- ArgumentNullException
Thrown when
citedEmailIdsis null.