Export (0) Print
Expand All

SmtpFailedRecipientException Constructor (String, Exception)

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

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

public SmtpFailedRecipientException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

A String that describes the error that occurred.

innerException
Type: System.Exception

The exception that is the cause of the current exception.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft