Method CeilingReached
- Namespace
- MailFathom.Application.Mail.Delivery.Governance
- Assembly
- MailFathom.Application.dll
CeilingReached(OutgoingMailCeiling)
Reports a send that would carry the current period past a ceiling.
public static OutgoingMailRefusedException CeilingReached(OutgoingMailCeiling ceiling)
Parameters
ceilingOutgoingMailCeilingThe ceiling the send reached.
Returns
- OutgoingMailRefusedException
The failure to raise.
Remarks
It names which ceiling and never the number, because the number is the operator's own configuration and the caller cannot influence it; what a caller can act on is that the period has to roll over first, which is the same for all four.
Exceptions
- ArgumentOutOfRangeException
Thrown when the ceiling is not one this system declares.