SmtpException Constructor (SmtpStatusCode)
.NET Framework (current version)
Initializes a new instance of the SmtpException class with the specified status code.
Assembly: System (in System.dll)
Parameters
- statusCode
-
Type:
System.Net.Mail::SmtpStatusCode
An SmtpStatusCode value.
This constructor uses the statusCode parameter to initialize the StatusCode property.
.NET Framework
Available since 2.0
Available since 2.0
Show: