Method CallerCeilingReached
- Namespace
- MailFathom.Application.Mail.Delivery.Governance
- Assembly
- MailFathom.Application.dll
CallerCeilingReached(AuthoredSendCeiling)
Reports a send that would carry one caller's current period past a ceiling of its own.
public static OutgoingMailRefusedException CallerCeilingReached(AuthoredSendCeiling ceiling)
Parameters
ceilingAuthoredSendCeilingThe ceiling the caller reached.
Returns
- OutgoingMailRefusedException
The failure to raise.
Remarks
It carries the same code as the deployment's own ceilings, because the remedy is the same one: the period has to roll over first, and nothing the caller rewrites reaches an answer before it does. What the message adds is that the bound reached is this caller's rather than the installation's, which is the difference an operator reading a refusal needs — one says a client is looping and the other says the deployment is busy.
The third is neither: it says the period is counting as many callers as this system holds counts for, which is not a number an operator wrote and may be reached on a deployment that configured no per-caller ceiling at all. So it says so, rather than sending somebody to read a setting that had nothing to do with it.
Exceptions
- ArgumentOutOfRangeException
Thrown when the ceiling is not one this system declares.