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