InvalidEmailDataException Class

Thrown when a file is malformed or truncated beyond what the reader can recover.

public sealed class InvalidEmailDataException : EmailException
Inheritance
EmailException InvalidEmailDataException

Constructors

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

InvalidEmailDataException overloads

InvalidEmailDataException()

InvalidEmailDataException.cs

Initializes a new instance of the InvalidEmailDataException class.

public InvalidEmailDataException()

InvalidEmailDataException(string?)

InvalidEmailDataException.cs

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

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

InvalidEmailDataException(string?, Exception?)

InvalidEmailDataException.cs

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

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