Class MailboxExportArchiveWrite
- Namespace
- MailFathom.Application.Mail.Export
- Assembly
- MailFathom.Application.dll
One archive being produced into the content store, which is complete only when it is completed.
public abstract class MailboxExportArchiveWrite : IAsyncDisposable
- Inheritance
-
MailboxExportArchiveWrite
- Implements
- Inherited Members
Remarks
Disposal alone abandons the write, so a job that stopped for any reason leaves nothing downloadable behind — the failure an export must never have is a half-written mailbox that looks like a whole one.
Properties
- Content
Gets the stream the archive is produced into.
- ObjectLocator
Gets the whole key the archive is being written under, which the export's record keeps.
Methods
- CompleteAsync(CancellationToken)
Finishes the archive, after which the key names a complete object.
- DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
- DisposeAsyncCore()
Abandons whatever has not been completed, leaving the store holding nothing under the key.