Table of Contents

Class EmailContentReadSelectionInvalidException

Namespace
MailFathom.Application.Emails.GetEmailContent
Assembly
MailFathom.Application.dll

The failure raised when a read names both the emails and the conversation to read, or neither.

public sealed class EmailContentReadSelectionInvalidException : MailFathomException, ISerializable
Inheritance
EmailContentReadSelectionInvalidException
Implements
Inherited Members

Remarks

The two selections are alternatives rather than filters that compose, so a call carrying both is refused instead of resolved by precedence: honouring the list would ignore a conversation somebody asked for, and honouring the conversation would return messages nobody named. Either way the caller receives mail it did not ask for and has no way to tell that it did.

A call carrying neither is the same finding from the other side — it names nothing to read — and is answered the same way rather than with an empty result, which a caller would read as a mailbox holding nothing.

Constructors

EmailContentReadSelectionInvalidException()

Initializes the failure.

Properties

ErrorCode

Gets the stable code identifying this failure to a boundary that must report it without naming a type.