Table of Contents

Method VerifyAvailableAsync

Namespace
MailFathom.Application.Spam.Scanning
Assembly
MailFathom.Application.dll

VerifyAvailableAsync(CancellationToken)

Verifies that the configured scanner answers, and establishes the corpus it scores under.

Task VerifyAvailableAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancels the probe.

Returns

Task

A task that completes when the scanner answered.

Exceptions

SpamScannerUnavailableException

Thrown when the scanner could not be reached, did not answer inside its bound, or answered unintelligibly.

OperationCanceledException

Thrown when cancellationToken is cancelled.