Method Refused
- Namespace
- MailFathom.Application.Configuration
- Assembly
- MailFathom.Application.dll
Refused(MailFathomErrorCode, long, IReadOnlyList<string>)
Reports a write that changed nothing.
public static ConfigurationWriteResult Refused(MailFathomErrorCode refusal, long versionInForce, IReadOnlyList<string> messages)
Parameters
refusalMailFathomErrorCodeThe code naming why.
versionInForcelongThe version the deployment is still running on.
messagesIReadOnlyList<string>One sentence per reason, each naming the setting and never its value unless the caller supplied that value.
Returns
- ConfigurationWriteResult
The refused result.
Exceptions
- ArgumentNullException
Thrown when
messagesis null.- ArgumentException
Thrown when
refusalnames no failure, or whenmessagesis empty.- ArgumentOutOfRangeException
Thrown when
versionInForceis negative.