This documentation is archived and is not being maintained.
SmtpException Constructor
Visual Studio 2010
Initializes a new instance of the SmtpException class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
SmtpException() | Initializes a new instance of the SmtpException class. |
|
SmtpException(SmtpStatusCode) | Initializes a new instance of the SmtpException class with the specified status code. |
|
SmtpException(String) | Initializes a new instance of the SmtpException class with the specified error message. |
|
SmtpException(SerializationInfo, StreamingContext) | Infrastructure. Initializes a new instance of the SmtpException class from the specified instances of the SerializationInfo and StreamingContext classes. |
|
SmtpException(SmtpStatusCode, String) | Initializes a new instance of the SmtpException class with the specified status code and error message. |
|
SmtpException(String, Exception) | Initializes a new instance of the SmtpException class with the specified error message and inner exception. |
Show: