SmtpException Constructor

SmtpException Constructor

 

Initializes a new instance of the SmtpException class.

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSmtpException()

Initializes a new instance of the SmtpException class.

System_CAPS_protmethodSmtpException(SerializationInfo, StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the SmtpException class from the specified instances of the SerializationInfo and StreamingContext classes.

System_CAPS_pubmethodSmtpException(SmtpStatusCode)

Initializes a new instance of the SmtpException class with the specified status code.

System_CAPS_pubmethodSmtpException(SmtpStatusCode, String)

Initializes a new instance of the SmtpException class with the specified status code and error message.

System_CAPS_pubmethodSmtpException(String)

Initializes a new instance of the SmtpException class with the specified error message.

System_CAPS_pubmethodSmtpException(String, Exception)

Initializes a new instance of the SmtpException class with the specified error message and inner exception.

Return to top
Show:
© 2016 Microsoft