Table of Contents

Method Failed

Namespace
MailFathom.Application.SensitiveContent.Detection
Assembly
MailFathom.Application.dll

Failed(SensitiveContentScannerKind, Exception)

Refuses an operation whose scanner failed.

public static SensitiveContentScannerUnavailableException Failed(SensitiveContentScannerKind scanner, Exception failure)

Parameters

scanner SensitiveContentScannerKind

The scanner that failed.

failure Exception

The failure it raised, which stays diagnostic detail for a log.

Returns

SensitiveContentScannerUnavailableException

The failure to raise.

Exceptions

ArgumentNullException

Thrown when failure is null.