The properties of the SmtpException class are listed below. For a complete list of SmtpException class members, see the SmtpException Members topic.
ErrorCode | The SMTP error code. |
HelpLink (inherited from Exception) | Gets or sets a link to the help file associated with this exception. |
InnerException (inherited from Exception) | Gets the Exception instance that caused the current exception. |
Message (inherited from Exception) | Gets a message that describes the current exception. |
Source (inherited from Exception) | Gets or sets the name of the application or the object that causes the error. |
StackTrace (inherited from Exception) | Gets a string representation of the frames on the call stack at the time the current exception was thrown. |
TargetSite (inherited from Exception) | Gets the method that throws the current exception. |
HResult (inherited from Exception) | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. |