Constructor SettingsPolicyCommit
- Namespace
- MailFathom.Infrastructure.Persistence.Policies
- Assembly
- MailFathom.Infrastructure.dll
SettingsPolicyCommit(SettingsPolicyCommitResult, long?, int, IReadOnlyList<SettingsPolicyRecordInTheWay>?, int)
What one attempt to commit a settings policy did.
public SettingsPolicyCommit(SettingsPolicyCommitResult Result, long? Version = null, int GovernedRecords = 0, IReadOnlyList<SettingsPolicyRecordInTheWay>? RecordsInTheWay = null, int RecordsLeftInvalid = 0)
Parameters
ResultSettingsPolicyCommitResultHow the attempt ended.
Versionlong?The version the commit produced; null for every other ending.
GovernedRecordsintHow many records the write would have judged, user records and mail accounts together, where the attempt counted them: the figure a write past the bound is refused with, and the total a refusal over invalid records is out of.
RecordsInTheWayIReadOnlyList<SettingsPolicyRecordInTheWay>The first records that refuse the policy, up to MaximumRecordsNamed, each with what refuses it; empty for every ending but RecordsLeftInvalid.
RecordsLeftInvalidintHow many records refuse the policy in all, of which
RecordsInTheWaynames the first.