EmailResourceLimitException Class

Thrown when reading a file would exceed a limit of the options of the reader, such as the size of a message or the number of parts.

public sealed class EmailResourceLimitException : EmailException
Inheritance
EmailException EmailResourceLimitException

Constructors

NameDescription
EmailResourceLimitException()Initializes a new instance of the EmailResourceLimitException class.
EmailResourceLimitException(string?)Initializes a new instance of the EmailResourceLimitException class with a message.
EmailResourceLimitException(string?, Exception?)Initializes a new instance of the EmailResourceLimitException class with a message and the exception that caused it.

EmailResourceLimitException overloads

EmailResourceLimitException()

EmailResourceLimitException.cs

Initializes a new instance of the EmailResourceLimitException class.

public EmailResourceLimitException()

EmailResourceLimitException(string?)

EmailResourceLimitException.cs

Initializes a new instance of the EmailResourceLimitException class with a message.

public EmailResourceLimitException(string? message)
Parameters
message string?
The message that describes the error.

EmailResourceLimitException(string?, Exception?)

EmailResourceLimitException.cs

Initializes a new instance of the EmailResourceLimitException class with a message and the exception that caused it.

public EmailResourceLimitException(string? message, Exception? innerException)
Parameters
message string?
The message that describes the error.
innerException Exception?
The exception that caused the error.