Table of Contents

Method ReadAsync

Namespace
MailFathom.Application.EmailContent.Release
Assembly
MailFathom.Application.dll

ReadAsync(CancellationToken)

Reads what is retained and what is still uncarried, without freeing anything.

public Task<RetainedContentReleaseResult> ReadAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancels the read.

Returns

Task<RetainedContentReleaseResult>

The two figures, with nothing released.

Remarks

Asked for under the reading grant rather than the erasing one, because how much of a database is duplication is a question about what a deployment holds. It answers on a deployment that has moved nothing, where both figures are what they should be: nothing retained, and everything still owned.

Exceptions

PrincipalNotAuthorizedException

Thrown when the use case was reached by anything but a caller granted AdminRead.