Table of Contents

Method ReadAsync

Namespace
MailFathom.Application.Emails.AttachmentText.Administration
Assembly
MailFathom.Application.dll

ReadAsync(MailAccountId?, CancellationToken)

Reads where attachment and image reading stands, for one account or for the whole deployment.

public Task<AttachmentDerivationStatus> ReadAsync(MailAccountId? account, CancellationToken cancellationToken)

Parameters

account MailAccountId?

The account to report on, or null for every account together.

cancellationToken CancellationToken

Cancels the reads.

Returns

Task<AttachmentDerivationStatus>

The coverage and both periods.

Remarks

The periods are the deployment's whichever scope the coverage was asked for, because that is what a ceiling bounds: an account is not a budget, and reporting one account's share of a deployment ceiling would invent a figure nothing enforces.

Exceptions

OperationCanceledException

Thrown when the caller cancels.