Method Create
- Namespace
- MailFathom.Application.SensitiveContent
- Assembly
- MailFathom.Application.dll
Create(int, TimeSpan, int)
Creates bounds, refusing values no scan could run under.
public static SensitiveContentScanBounds Create(int maximumAnalyzedCharacters, TimeSpan scanTimeout, int maximumConcurrentScans)
Parameters
maximumAnalyzedCharactersintThe greatest number of characters one scan analyzes.
scanTimeoutTimeSpanHow long one call to one scanner may take.
maximumConcurrentScansintHow many scans may run at once.
Returns
- SensitiveContentScanBounds
The validated bounds.
Exceptions
- ArgumentOutOfRangeException
Thrown when a value is outside the range this type accepts.