Constructor RemoteFolderCreationRefusedException
- Namespace
- MailFathom.Application.Folders
- Assembly
- MailFathom.Application.dll
RemoteFolderCreationRefusedException(MailAccountId, MailFolderAlias, Exception)
Initializes a new refusal naming the alias whose folder the mail server would not create.
public RemoteFolderCreationRefusedException(MailAccountId accountId, MailFolderAlias folderAlias, Exception innerException)
Parameters
accountIdMailAccountIdThe account whose mailbox the folder was to be created in.
folderAliasMailFolderAliasThe alias the configured path was written under.
innerExceptionExceptionThe mail-library failure the server's refusal arrived as.
RemoteFolderCreationRefusedException(MailAccountId, MailFolderAlias)
Initializes a new refusal for a path the server holds under a name it will not let a folder take.
public RemoteFolderCreationRefusedException(MailAccountId accountId, MailFolderAlias folderAlias)
Parameters
accountIdMailAccountIdThe account whose mailbox the folder was to be created in.
folderAliasMailFolderAliasThe alias the configured path was written under.
Remarks
This is the answer to a name the server already lists as a hierarchy container or as a node holding no mail. The server refused nothing, because nothing was asked of it: the name is taken, so what the operator needs is a different path rather than an act MailFathom can take for them.