Files
Apr2020-Cpp2Il-Dump/System/Net/Mail/SmtpFailedRecipientException.cs
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

76 lines
5.0 KiB
C#

using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Represents the exception that is thrown when the <see cref="T:System.Net.Mail.SmtpClient" /> is not able to complete a <see cref="Overload:System.Net.Mail.SmtpClient.Send" /> or <see cref="Overload:System.Net.Mail.SmtpClient.SendAsync" /> operation to a particular recipient.</summary>
// Token: 0x020002C4 RID: 708
[Token(Token = "0x20002C4")]
[Serializable]
public class SmtpFailedRecipientException : SmtpException, ISerializable
{
/// <summary>Initializes an empty instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" /> class.</summary>
// Token: 0x060012B8 RID: 4792 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B8")]
[Address(RVA = "0x223D550", Offset = "0x223C350", VA = "0x18223D550")]
public SmtpFailedRecipientException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" /> class with the specified error message.</summary>
/// <param name="message">A <see cref="T:System.String" /> that contains the error message.</param>
// Token: 0x060012B9 RID: 4793 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B9")]
[Address(RVA = "0x223D460", Offset = "0x223C260", VA = "0x18223D460")]
public SmtpFailedRecipientException(string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes.</summary>
/// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the information required to serialize the new <see cref="T:System.Net.Mail.SmtpFailedRecipientException" />.</param>
/// <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source and destination of the serialized stream that is associated with the new instance.</param>
// Token: 0x060012BA RID: 4794 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012BA")]
[Address(RVA = "0x223D8E0", Offset = "0x223C6E0", VA = "0x18223D8E0")]
protected SmtpFailedRecipientException(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" /> class with the specified status code and email address.</summary>
/// <param name="statusCode">An <see cref="T:System.Net.Mail.SmtpStatusCode" /> value.</param>
/// <param name="failedRecipient">A <see cref="T:System.String" /> that contains the email address.</param>
// Token: 0x060012BB RID: 4795 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012BB")]
[Address(RVA = "0x223D990", Offset = "0x223C790", VA = "0x18223D990")]
public SmtpFailedRecipientException(SmtpStatusCode statusCode, string failedRecipient)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data that is needed to serialize the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" />.</summary>
/// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for this serialization.</param>
// Token: 0x060012BC RID: 4796 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012BC")]
[Address(RVA = "0x223D7A0", Offset = "0x223C5A0", VA = "0x18223D7A0", Slot = "10")]
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data that is needed to serialize the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" />.</summary>
/// <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance, which holds the serialized data for the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" />.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> instance that contains the destination of the serialized stream that is associated with the new <see cref="T:System.Net.Mail.SmtpFailedRecipientException" />.</param>
// Token: 0x060012BD RID: 4797 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012BD")]
[Address(RVA = "0x403DA0", Offset = "0x402BA0", VA = "0x180403DA0", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
// Token: 0x04000B10 RID: 2832
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x4000B10")]
private string failedRecipient;
}
}