1 type derived from SmtpFailedRecipientException
System (1)
net\System\Net\mail\SmtpFailedRecipientsException.cs (1)
13public class SmtpFailedRecipientsException : SmtpFailedRecipientException, ISerializable
3 instantiations of SmtpFailedRecipientException
System (3)
net\System\Net\mail\SmtpTransport.cs (3)
327new SmtpFailedRecipientException(connection.Reader.StatusCode, smtpAddress, response)); 448failedRecipientExceptions.Add(new SmtpFailedRecipientException(connection.Reader.StatusCode, 466new SmtpFailedRecipientException(thisPtr.connection.Reader.StatusCode,
33 references to SmtpFailedRecipientException
System (33)
net\System\Net\mail\SmtpClient.cs (8)
64SmtpFailedRecipientException failedRecipientException; 443SmtpFailedRecipientException recipientException = null; 531if (e is SmtpFailedRecipientException && !((SmtpFailedRecipientException)e).fatal) { 674if (e is SmtpFailedRecipientException && !((SmtpFailedRecipientException)e).fatal) { 816else if (exception != null && (!(exception is SmtpFailedRecipientException) || ((SmtpFailedRecipientException)exception).fatal))
net\System\Net\mail\SmtpFailedRecipientsException.cs (17)
15SmtpFailedRecipientException[] innerExceptions; 21innerExceptions = new SmtpFailedRecipientException[0]; 26innerExceptions = new SmtpFailedRecipientException[0]; 31SmtpFailedRecipientException smtpException = innerException as SmtpFailedRecipientException; 32this.innerExceptions = smtpException == null ? new SmtpFailedRecipientException[0] : new SmtpFailedRecipientException[] { smtpException }; 37innerExceptions = (SmtpFailedRecipientException[]) info.GetValue("innerExceptions", typeof(SmtpFailedRecipientException[])); 41public SmtpFailedRecipientsException(string message, SmtpFailedRecipientException[] innerExceptions) : 50this.innerExceptions = innerExceptions == null ? new SmtpFailedRecipientException[0] : innerExceptions; 55innerExceptions != null && innerExceptions.Count > 0 ? ((SmtpFailedRecipientException) innerExceptions[0]).FailedRecipient : null, 56innerExceptions != null && innerExceptions.Count > 0 ? (SmtpFailedRecipientException) innerExceptions[0] : null) 63this.innerExceptions = new SmtpFailedRecipientException[innerExceptions.Count]; 65foreach(SmtpFailedRecipientException e in innerExceptions) { 70public SmtpFailedRecipientException[] InnerExceptions 100serializationInfo.AddValue("innerExceptions", innerExceptions, typeof(SmtpFailedRecipientException[]));
net\System\Net\mail\SmtpTransport.cs (8)
303bool allowUnicode, out SmtpFailedRecipientException exception) 335exception = (SmtpFailedRecipientException) failedRecipientExceptions[0]; 397&& (!(sendMailResult is SmtpFailedRecipientException) 398|| ((SmtpFailedRecipientException)sendMailResult).fatal)) 472SmtpFailedRecipientException exception = null; 475exception = (SmtpFailedRecipientException)thisPtr.failedRecipientExceptions[0]; 548internal SmtpFailedRecipientException GetFailedRecipientException() 552return (SmtpFailedRecipientException)failedRecipientExceptions[0];