Table of Contents

Class MailRuleActionFailure

Namespace
MailFathom.Application.Rules.Actions
Assembly
MailFathom.Application.dll

One action a rule asked for and nothing was recorded against, with the reason nothing was.

public sealed record MailRuleActionFailure : IEquatable<MailRuleActionFailure>
Inheritance
MailRuleActionFailure
Implements
Inherited Members

Remarks

It names identities and a mutation name only. A rule name, a folder alias, and a special-use role are all MailFathom's own configured names, which is what lets a failure be reported without saying which message it was about. The position is what attributes the refusal to one of a rule's declared changes rather than to the rule as a whole. The destination is carried as the reference the rule wrote rather than as the folder it resolved to, because the failure it usually accompanies is the resolution itself not having an answer.

Constructors

MailRuleActionFailure(string, int, MailboxMutation, MailRuleActionFailureReason, MailFolderReference?)

One action a rule asked for and nothing was recorded against, with the reason nothing was.

Properties

Destination

How the action named its folder, and null for an action naming none.

Mutation

The change it asked for, which is the same word a log line and a counter use.

Position

Where the action sits in the order its own rule declares its changes, counted from zero.

Reason

Why the request could not be written.

RuleName

The rule that asked, which is MailFathom's own configured name for it.