Class RemoteFolderEditRefusedException
- Namespace
- MailFathom.Application.Folders
- Assembly
- MailFathom.Application.dll
Indicates that a mail server was asked to rename or delete a folder and answered by refusing it.
public sealed class RemoteFolderEditRefusedException : MailFathomException, ISerializable
- Inheritance
-
RemoteFolderEditRefusedException
- Implements
- Inherited Members
Remarks
It is raised rather than returned for the reason a refused creation is: the act reaches the server from an adapter that has no way to decide what a refusal means to whoever asked, and the caller translating it into the person's own answer is several layers above. What that caller does with it is settled in one place — the act is reported as refused, and nothing of MailFathom's own state is written, because the server is asked first.
The message names the alias alone. A remote folder path is the mailbox user's own naming of their mail, which no message an operator reads may carry.
Constructors
- RemoteFolderEditRefusedException(MailAccountId, MailFolderAlias, MailFolderAct)
Initializes a new refusal for an act the server was not asked to perform because its subject is unusable.
- RemoteFolderEditRefusedException(MailAccountId, MailFolderAlias, MailFolderAct, Exception)
Initializes a new refusal naming the alias whose folder the mail server would not change.
Properties
- AccountId
Gets the account whose mailbox holds the folder.
- Act
Gets which act the server would not carry out.
- ErrorCode
Gets the stable code identifying this failure to a boundary that must report it without naming a type.
- FolderAlias
Gets the alias the folder is declared under.