Constructor MailboxRestoreConfirmation
- Namespace
- MailFathom.Application.Synchronization.Restore
- Assembly
- MailFathom.Application.dll
MailboxRestoreConfirmation(MailboxRestoreAppend, ImapUidValidity, ImapUid)
An append the source answered in full, waiting for the occurrence to be written onto the message.
public MailboxRestoreConfirmation(MailboxRestoreAppend Record, ImapUidValidity UidValidity, ImapUid Uid)
Parameters
RecordMailboxRestoreAppendThe record the append was issued under.
UidValidityImapUidValidityThe UIDVALIDITY the source named for the folder it put the copy in.
UidImapUidThe UID the source named inside that folder.
Remarks
It exists because the answer and the occurrence cannot commit together: the answer arrives from a mail server and the occurrence is written to PostgreSQL, so a pass shut down, rebalanced, or meeting a transient database failure between the two would otherwise lose a placement the source has already stated. Recording the placement on its own turns that window into work the next pass finishes rather than an append an operator has to establish by hand.