19 references to _failedRecipientExceptions
System.Net.Mail (19)
System\Net\Mail\SmtpTransport.cs (19)
329
_failedRecipientExceptions
.Add(new SmtpFailedRecipientException(_connection.Reader!.StatusCode,
346
thisPtr.
_failedRecipientExceptions
.Add(
351
if (thisPtr.
_failedRecipientExceptions
.Count == thisPtr._toCollection.Count)
354
(SmtpFailedRecipientException)thisPtr.
_failedRecipientExceptions
[0] :
355
new SmtpFailedRecipientsException(thisPtr.
_failedRecipientExceptions
, true);
379
if (
_failedRecipientExceptions
.Count > 1)
381
InvokeCallback(new SmtpFailedRecipientsException(
_failedRecipientExceptions
,
_failedRecipientExceptions
.Count == _toCollection.Count));
383
else if (
_failedRecipientExceptions
.Count == 1)
385
InvokeCallback(
_failedRecipientExceptions
[0]);
402
if (thisPtr.
_failedRecipientExceptions
.Count > 1)
404
thisPtr.InvokeCallback(new SmtpFailedRecipientsException(thisPtr.
_failedRecipientExceptions
, thisPtr.
_failedRecipientExceptions
.Count == thisPtr._toCollection.Count));
406
else if (thisPtr.
_failedRecipientExceptions
.Count == 1)
408
thisPtr.InvokeCallback(thisPtr.
_failedRecipientExceptions
[0]);
425
if (
_failedRecipientExceptions
.Count == 1)
427
return (SmtpFailedRecipientException)
_failedRecipientExceptions
[0];
429
else if (
_failedRecipientExceptions
.Count > 1)
432
return new SmtpFailedRecipientsException(
_failedRecipientExceptions
, false);