Constructor MailAccountCustodySwitchOutcome
- Namespace
- MailFathom.Application.Accounts.Custody
- Assembly
- MailFathom.Application.dll
MailAccountCustodySwitchOutcome(MailAccountCustodyState, IReadOnlyList<MailAccountCustodyRefusalDetail>)
What an administrative request to change one account's custody did.
public MailAccountCustodySwitchOutcome(MailAccountCustodyState State, IReadOnlyList<MailAccountCustodyRefusalDetail> Refusals)
Parameters
StateMailAccountCustodyStateThe account's custody as it stands after the request, which is unchanged for a refused one.
RefusalsIReadOnlyList<MailAccountCustodyRefusalDetail>Why the switch was not accepted, empty for one that was.
Remarks
A refusal is a result rather than an exception, because every one of them names something an operator corrects and asks again: a mapping to stop synchronizing, a path to write, or an older replica to finish going away. See ADR 0034.