Export (0) Print
Expand All

SmtpFailedRecipientException Constructor (String)

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

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

public SmtpFailedRecipientException(
	string message


Type: System.String

A String that contains the error message.

This constructor uses the message parameter to initialize the Message property.

.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
© 2015 Microsoft