SmtpFailedRecipientException Constructor (String^, String^, Exception^)

 

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

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

public:
SmtpFailedRecipientException(
	String^ message,
	String^ failedRecipient,
	Exception^ innerException
)

Parameters

message
Type: System::String^

A String that describes the error that occurred.

failedRecipient
Type: System::String^

A String that contains the e-mail address.

innerException
Type: System::Exception^

The exception that is the cause of the current exception.

.NET Framework
Available since 2.0
Return to top
Show: