Method VerifyAvailableAsync
- Namespace
- MailFathom.Application.SensitiveContent.Detection
- Assembly
- MailFathom.Application.dll
VerifyAvailableAsync(CancellationToken)
Verifies that the configured analyzer answers, and that it recognises at least one entity of every category this deployment switched on.
Task VerifyAvailableAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the probe.
Returns
- Task
A task that completes when the analyzer answered for every switched-on category.
Exceptions
- PersonalDataAnalyzerUnavailableException
Thrown when the analyzer could not be reached, refused the probe, or recognises no entity of a switched-on category — the last of which would otherwise be scanned for and never found, which reads exactly like a clean message.
- OperationCanceledException
Thrown when
cancellationTokenis cancelled.