Files
Aug2021-Cpp2IL-Dump/System/Net/Mail/SmtpException.cs
T
2026-04-10 22:50:51 +02:00

95 lines
5.8 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.</summary>
// Token: 0x020002C3 RID: 707
[Token(Token = "0x20002C3")]
[Serializable]
public class SmtpException : Exception, ISerializable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class.</summary>
// Token: 0x060012B0 RID: 4784 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B0")]
[Address(RVA = "0x223D550", Offset = "0x223C350", VA = "0x18223D550")]
public SmtpException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class with the specified status code.</summary>
/// <param name="statusCode">An <see cref="T:System.Net.Mail.SmtpStatusCode" /> value.</param>
// Token: 0x060012B1 RID: 4785 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B1")]
[Address(RVA = "0x223D3C0", Offset = "0x223C1C0", VA = "0x18223D3C0")]
public SmtpException(SmtpStatusCode statusCode)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class with the specified error message.</summary>
/// <param name="message">A <see cref="T:System.String" /> that describes the error that occurred.</param>
// Token: 0x060012B2 RID: 4786 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B2")]
[Address(RVA = "0x223D460", Offset = "0x223C260", VA = "0x18223D460")]
public SmtpException(string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> 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="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the information required to serialize the new <see cref="T:System.Net.Mail.SmtpException" />.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source and destination of the serialized stream associated with the new instance.</param>
// Token: 0x060012B3 RID: 4787 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B3")]
[Address(RVA = "0x223D5E0", Offset = "0x223C3E0", VA = "0x18223D5E0")]
protected SmtpException(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class with the specified status code and error message.</summary>
/// <param name="statusCode">An <see cref="T:System.Net.Mail.SmtpStatusCode" /> value.</param>
/// <param name="message">A <see cref="T:System.String" /> that describes the error that occurred.</param>
// Token: 0x060012B4 RID: 4788 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B4")]
[Address(RVA = "0x223D4D0", Offset = "0x223C2D0", VA = "0x18223D4D0")]
public SmtpException(SmtpStatusCode statusCode, string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class with the specified error message and inner exception.</summary>
/// <param name="message">A <see cref="T:System.String" /> that describes the error that occurred.</param>
/// <param name="innerException">The exception that is the cause of the current exception.</param>
// Token: 0x060012B5 RID: 4789 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B5")]
[Address(RVA = "0x223D560", Offset = "0x223C360", VA = "0x18223D560")]
public SmtpException(string message, Exception innerException)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data needed to serialize the <see cref="T:System.Net.Mail.SmtpException" />.</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: 0x060012B6 RID: 4790 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B6")]
[Address(RVA = "0x223D2B0", Offset = "0x223C0B0", VA = "0x18223D2B0", Slot = "10")]
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data needed to serialize the <see cref="T:System.Net.Mail.SmtpException" />.</summary>
/// <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" />, which holds the serialized data for the <see cref="T:System.Net.Mail.SmtpException" />.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the destination of the serialized stream associated with the new <see cref="T:System.Net.Mail.SmtpException" />.</param>
// Token: 0x060012B7 RID: 4791 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B7")]
[Address(RVA = "0x403DA0", Offset = "0x402BA0", VA = "0x180403DA0", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x04000B0F RID: 2831
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x4000B0F")]
private SmtpStatusCode statusCode;
}
}