76 lines
4.9 KiB
C#
76 lines
4.9 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: 0x020002C0 RID: 704
|
|
[Token(Token = "0x20002C0")]
|
|
[Serializable]
|
|
public class SmtpFailedRecipientException : SmtpException, ISerializable
|
|
{
|
|
/// <summary>Initializes an empty instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" /> class.</summary>
|
|
// Token: 0x060012A2 RID: 4770 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60012A2")]
|
|
[Address(RVA = "0x8B8120", Offset = "0x8B7120", VA = "0x1808B8120")]
|
|
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: 0x060012A3 RID: 4771 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60012A3")]
|
|
[Address(RVA = "0x8B8030", Offset = "0x8B7030", VA = "0x1808B8030")]
|
|
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: 0x060012A4 RID: 4772 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60012A4")]
|
|
[Address(RVA = "0x8B84B0", Offset = "0x8B74B0", VA = "0x1808B84B0")]
|
|
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: 0x060012A5 RID: 4773 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60012A5")]
|
|
[Address(RVA = "0x8B8560", Offset = "0x8B7560", VA = "0x1808B8560")]
|
|
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: 0x060012A6 RID: 4774 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60012A6")]
|
|
[Address(RVA = "0x8B8370", Offset = "0x8B7370", VA = "0x1808B8370", 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: 0x060012A7 RID: 4775 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60012A7")]
|
|
[Address(RVA = "0x7754F0", Offset = "0x7744F0", VA = "0x1807754F0", Slot = "4")]
|
|
void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000B03 RID: 2819
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4000B03")]
|
|
private string failedRecipient;
|
|
}
|
|
}
|