SmtpFailedRecipientException Constructor

 

Initializes a new instance of the SmtpFailedRecipientException class.

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

NameDescription
System_CAPS_pubmethodSmtpFailedRecipientException()

Initializes an empty instance of the SmtpFailedRecipientException class.

System_CAPS_protmethodSmtpFailedRecipientException(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 SmtpFailedRecipientException class from the specified instances of the SerializationInfo and StreamingContext classes.

System_CAPS_pubmethodSmtpFailedRecipientException(SmtpStatusCode, String^)

Initializes a new instance of the SmtpFailedRecipientException class with the specified status code and e-mail address.

System_CAPS_pubmethodSmtpFailedRecipientException(SmtpStatusCode, String^, String^)

Initializes a new instance of the SmtpFailedRecipientException class with the specified status code, e-mail address, and server response.

System_CAPS_pubmethodSmtpFailedRecipientException(String^)

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

System_CAPS_pubmethodSmtpFailedRecipientException(String^, Exception^)

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

System_CAPS_pubmethodSmtpFailedRecipientException(String^, String^, Exception^)

Initializes a new instance of the SmtpException class with the specified error message, e-mail address, and inner exception.

Return to top
Show: