InvalidEmailDataException Class
Thrown when a file is malformed or truncated beyond what the reader can recover.
public sealed class InvalidEmailDataException : EmailException- Inheritance
EmailExceptionInvalidEmailDataException
Constructors
| Name | Description |
|---|---|
| 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.csInitializes a new instance of the InvalidEmailDataException class.
public InvalidEmailDataException()InvalidEmailDataException(string?)
InvalidEmailDataException.csInitializes a new instance of the InvalidEmailDataException class with a message.
public InvalidEmailDataException(string? message)Parameters
messagestring?- The message that describes the error.
InvalidEmailDataException(string?, Exception?)
InvalidEmailDataException.csInitializes a new instance of the InvalidEmailDataException class with a message and the exception that caused it.
Parameters
messagestring?- The message that describes the error.
innerExceptionException?- The exception that caused the error.