Constructor MailboxSourceRemoval
- Namespace
- MailFathom.Application.Synchronization.Drain
- Assembly
- MailFathom.Application.dll
MailboxSourceRemoval(MailboxSourceRemovalId, EmailOccurrenceId, MailFolderResolution)
A message the source still holds that MailFathom erased before the drain reached it.
public MailboxSourceRemoval(MailboxSourceRemovalId Id, EmailOccurrenceId Occurrence, MailFolderResolution Folder)
Parameters
IdMailboxSourceRemovalIdWhat the record is deleted by once the removal is done.
OccurrenceEmailOccurrenceIdWhere the source holds it, which is the UID the drain expunges.
FolderMailFolderResolutionThe binding the occurrence belongs to.
Remarks
Written in the transaction that removes the row, and carrying nothing about the message, because once the erasure cascade has run nothing else in the deployment knows where that message was on the source. It is how an erasure always reaches the source without ever reaching it on the request that asked for one.
It is deleted when its expunge is observed complete, or when a UIDVALIDITY change means its UID names nothing any more — so a remote path and a UID are kept for exactly as long as they name something to remove, and no longer. See ADR 0034.