Table of Contents

Class SpamClassificationRunReader

Namespace
MailFathom.Application.Spam.Runs
Assembly
MailFathom.Application.dll

Reports where one account's whole-mailbox classification run has got to.

public sealed class SpamClassificationRunReader
Inheritance
SpamClassificationRunReader
Inherited Members

Remarks

Reading a run is separated from asking for one — SpamClassificationRunRequests — because the two are reached under different grants: a run asked to act moves mail on somebody's server, while watching one is a report of what this deployment is doing. What each message was classified as is neither, and is SpamClassificationHistory under the audit grant.

Constructors

SpamClassificationRunReader(ISpamClassificationRunStore, AccessAuthorization)

Initializes the reading over the run store.

Methods

FindLatestAsync(MailAccountId, CancellationToken)

Reads the run one account has outstanding, or the last one it finished.