SmtpException.SmtpException

SmtpException(SmtpStatusCode)

Initializes a new instance of the SmtpException class

public SmtpException(SmtpStatusCode statusCode)
ParameterTypeDescription
statusCodeSmtpStatusCodeSmtp status code

See Also


SmtpException(SmtpStatusCode, string)

Initializes a new instance of the SmtpException class

public SmtpException(SmtpStatusCode statusCode, string message)
ParameterTypeDescription
statusCodeSmtpStatusCodeSmtp status code
messageStringError message

See Also


SmtpException()

Initializes a new instance of the SmtpException class

public SmtpException()

See Also


SmtpException(string)

Initializes a new instance of the SmtpException class

public SmtpException(string message)
ParameterTypeDescription
messageStringError message

See Also


SmtpException(string, SendMessagesResult)

Initializes a new instance of the SmtpException class

public SmtpException(string message, SendMessagesResult result)
ParameterTypeDescription
messageStringError message
resultSendMessagesResultOperation result

See Also


SmtpException(string, Exception)

Initializes a new instance of the SmtpException class

public SmtpException(string message, Exception innerException)
ParameterTypeDescription
messageStringError message
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

See Also


SmtpException(string, Exception, MailMessage)

Initializes a new instance of the SmtpException class

public SmtpException(string message, Exception innerException, MailMessage mailMessage)
ParameterTypeDescription
messageStringError message
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
mailMessageMailMessage

See Also


SmtpException(string, MailMessage)

public SmtpException(string message, MailMessage mailMessage)

See Also