Table of Contents

Method DeleteAsync

Namespace
MailFathom.Application.Mail.Export
Assembly
MailFathom.Application.dll

DeleteAsync(string, CancellationToken)

Removes one archive, which is what an expiry, a deletion, and a cancellation each carry through to the store.

Task DeleteAsync(string objectLocator, CancellationToken cancellationToken)

Parameters

objectLocator string

The whole key, exactly as the export's record carried it.

cancellationToken CancellationToken

Cancels the removal.

Returns

Task

A task that completes once the store holds no object under that key.

Remarks

Removing a key nothing holds succeeds, which is what makes the operation safe to repeat after a crash.