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
scannerSensitiveContentScannerKindThe scanner that failed.
failureExceptionThe failure it raised, which stays diagnostic detail for a log.
Returns
- SensitiveContentScannerUnavailableException
The failure to raise.
Exceptions
- ArgumentNullException
Thrown when
failureis null.