Export (0) Print
Expand All

SmtpException Constructor

Initializes a new instance of the SmtpException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method SmtpException() Initializes a new instance of the SmtpException class.
Public method SmtpException(SmtpStatusCode) Initializes a new instance of the SmtpException class with the specified status code.
Public method SmtpException(String) Initializes a new instance of the SmtpException class with the specified error message.
Public method SmtpException(SmtpStatusCode, String) Initializes a new instance of the SmtpException class with the specified status code and error message.
Protected method SmtpException(SerializationInfo, StreamingContext) Infrastructure. Initializes a new instance of the SmtpException class from the specified instances of the SerializationInfo and StreamingContext classes.
Public method SmtpException(String, Exception) Initializes a new instance of the SmtpException class with the specified error message and inner exception.
Top

Community Additions

ADD
Show:
© 2014 Microsoft