SmtpFailedRecipientException Constructor (String, Exception)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 2.0
Return to top
Show: