Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SmtpFailedRecipientsException.cs
Go to the documentation of this file.
4
5namespace System.Net.Mail;
6
8[TypeForwardedFrom("System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
10{
12
14
19
20 public SmtpFailedRecipientsException(string? message)
21 : base(message)
22 {
24 }
25
32
38
41 {
42 if (innerExceptions == null)
43 {
44 throw new ArgumentNullException("innerExceptions");
45 }
47 }
48
50 : base(allFailed ? System.SR.SmtpAllRecipientsFailed : System.SR.SmtpRecipientFailed, (innerExceptions != null && innerExceptions.Count > 0) ? innerExceptions[0].FailedRecipient : null, (innerExceptions != null && innerExceptions.Count > 0) ? innerExceptions[0] : null)
51 {
52 if (innerExceptions == null)
53 {
54 throw new ArgumentNullException("innerExceptions");
55 }
57 }
58
63
69}
virtual void GetObjectData(SerializationInfo info, StreamingContext context)
SmtpFailedRecipientsException(SerializationInfo info, StreamingContext context)
SmtpFailedRecipientsException(List< SmtpFailedRecipientException > innerExceptions, bool allFailed)
SmtpFailedRecipientsException(string? message, SmtpFailedRecipientException[] innerExceptions)
SmtpFailedRecipientsException(string? message, Exception? innerException)
void ISerializable. GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
readonly SmtpFailedRecipientException[] _innerExceptions
Definition SR.cs:7
void GetObjectData(SerializationInfo info, StreamingContext context)