SmtpException Constructor

Initializes a new instance of the SmtpException class.

Name Description
SmtpException () Initializes a new instance of the SmtpException class.
SmtpException (SmtpStatusCode) Initializes a new instance of the SmtpException class with the specified status code.
SmtpException (String) Initializes a new instance of the SmtpException class with the specified error message.
SmtpException (SerializationInfo, StreamingContext) Initializes a new instance of the SmtpException class from the specified instances of the SerializationInfo and StreamingContext classes.
SmtpException (SmtpStatusCode, String) Initializes a new instance of the SmtpException class with the specified status code and error message.
SmtpException (String, Exception) Initializes a new instance of the SmtpException class with the specified error message and inner exception.

Community Additions

ADD
Show: