SmtpFailedRecipientException

SmtpFailedRecipientException class

表示指定收件人错误时出现的异常

public class SmtpFailedRecipientException : SmtpException

构造函数

姓名描述
SmtpFailedRecipientException()初始化SmtpFailedRecipientException class
SmtpFailedRecipientException(string)初始化SmtpFailedRecipientException class
SmtpFailedRecipientException(SmtpStatusCode, string)初始化SmtpFailedRecipientException class
SmtpFailedRecipientException(string, Exception)初始化SmtpFailedRecipientException class
SmtpFailedRecipientException(SmtpStatusCode, string, string)初始化SmtpFailedRecipientException class
SmtpFailedRecipientException(string, string, Exception)初始化SmtpFailedRecipientException class

特性

姓名描述
ErrorDetails { get; }获取有关错误的额外信息
FailedRecipient { get; }收件人失败
override Message { get; }获取描述当前异常的消息。
OperationDetails { get; }获取有关错误的额外信息
StatusCode { get; set; }Smtp 状态码

方法

姓名描述
override ToString()返回代表当前对象的字符串。

也可以看看