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