Table of Contents

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

refusal MailFathomErrorCode

The code naming why.

versionInForce long

The version the deployment is still running on.

messages IReadOnlyList<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 messages is null.

ArgumentException

Thrown when refusal names no failure, or when messages is empty.

ArgumentOutOfRangeException

Thrown when versionInForce is negative.