Table of Contents

Method RequireProcessIdentity

Namespace
MailFathom.Application.Access
Assembly
MailFathom.Application.dll

RequireProcessIdentity()

Requires that this use case was reached as work no caller requested.

public void RequireProcessIdentity()

Remarks

This is how a use case that runs on a schedule, out of a queue, or as part of an account run states that "there is no caller" is a case it models rather than a null nobody checked.

Exceptions

PrincipalNotAuthorizedException

Thrown when the work was reached under no principal, or under one that is not MailFathom's own identity.