Table of Contents

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

maximumAnalyzedCharacters int

The greatest number of characters one scan analyzes.

scanTimeout TimeSpan

How long one call to one scanner may take.

maximumConcurrentScans int

How many scans may run at once.

Returns

SensitiveContentScanBounds

The validated bounds.

Exceptions

ArgumentOutOfRangeException

Thrown when a value is outside the range this type accepts.