19 references to failedRecipientExceptions
System (19)
net\System\Net\mail\SmtpTransport.cs (19)
448failedRecipientExceptions.Add(new SmtpFailedRecipientException(connection.Reader.StatusCode, 465thisPtr.failedRecipientExceptions.Add( 470if (thisPtr.failedRecipientExceptions.Count == thisPtr.toCollection.Count) 475exception = (SmtpFailedRecipientException)thisPtr.failedRecipientExceptions[0]; 479exception = new SmtpFailedRecipientsException(thisPtr.failedRecipientExceptions, true); 504if (failedRecipientExceptions.Count > 1) 506InvokeCallback(new SmtpFailedRecipientsException(failedRecipientExceptions, failedRecipientExceptions.Count == toCollection.Count)); 508else if (failedRecipientExceptions.Count == 1) 510InvokeCallback(failedRecipientExceptions[0]); 527if (thisPtr.failedRecipientExceptions.Count > 1) 529thisPtr.InvokeCallback(new SmtpFailedRecipientsException(thisPtr.failedRecipientExceptions, thisPtr.failedRecipientExceptions.Count == thisPtr.toCollection.Count)); 531else if (thisPtr.failedRecipientExceptions.Count == 1) 533thisPtr.InvokeCallback(thisPtr.failedRecipientExceptions[0]); 550if (failedRecipientExceptions.Count == 1) 552return (SmtpFailedRecipientException)failedRecipientExceptions[0]; 554else if (failedRecipientExceptions.Count > 1) 557return new SmtpFailedRecipientsException(failedRecipientExceptions, false);