Table of Contents

Method RecordAppendConfirmedAsync

Namespace
MailFathom.Application.Mail.Delivery.Filing
Assembly
MailFathom.Application.dll

RecordAppendConfirmedAsync(IPersistenceSession, OutgoingEmailId, OutgoingMailFiling, AppendedMailCopy, CancellationToken)

Writes down what the server said about the copy it accepted.

Task RecordAppendConfirmedAsync(IPersistenceSession session, OutgoingEmailId outgoingEmailId, OutgoingMailFiling filing, AppendedMailCopy copy, CancellationToken cancellationToken)

Parameters

session IPersistenceSession

The session the write joins.

outgoingEmailId OutgoingEmailId

The record the copy was filed from.

filing OutgoingMailFiling

Which place the copy went into.

copy AppendedMailCopy

What the server named, which may name no placement at all.

cancellationToken CancellationToken

Cancels the write.

Returns

Task

A task that completes when the row is confirmed.

Exceptions

ArgumentNullException

Thrown when session or copy is null.

InvalidOperationException

Thrown when no row carries that identity, or when it is not awaiting confirmation.