Method Scanning
- Namespace
- MailFathom.Application.SensitiveContent
- Assembly
- MailFathom.Application.dll
Scanning(IReadOnlyList<SensitiveContentScannerKind>, SensitiveContentRedactor, SensitiveContentScreeningPolicy, SensitiveContentDerivationStamp)
Composes the posture of an account with at least one scanner switched on for its mail.
public static SensitiveContentPosture Scanning(IReadOnlyList<SensitiveContentScannerKind> scanners, SensitiveContentRedactor redactor, SensitiveContentScreeningPolicy screening, SensitiveContentDerivationStamp stamp)
Parameters
scannersIReadOnlyList<SensitiveContentScannerKind>Which scanners run over that mailbox's mail, which is what the redaction below runs.
redactorSensitiveContentRedactorThe redaction that mailbox's mail is read through.
screeningSensitiveContentScreeningPolicyWhich of its findings stop a message sent from it.
stampSensitiveContentDerivationStampThe configuration a derived row of that mailbox's mail records.
Returns
- SensitiveContentPosture
The posture every path scanning that account's mail reads.
Exceptions
- ArgumentNullException
Thrown when an argument is null.
- ArgumentException
Thrown when no scanner is named, which is ScanningNothing rather than a posture.