EmailException Class

The base class of the exceptions the library throws for the content of a file it reads.

public class EmailException : IOException
Inheritance
IOException EmailException

Constructors

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

EmailException overloads

EmailException()

EmailException.cs

Initializes a new instance of the EmailException class.

public EmailException()

EmailException(string?)

EmailException.cs

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

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

EmailException(string?, Exception?)

EmailException.cs

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

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