using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// Represents the exception that is thrown when the is not able to complete a or operation.
// Token: 0x020002C3 RID: 707
[Token(Token = "0x20002C3")]
[Serializable]
public class SmtpException : Exception, ISerializable
{
/// Initializes a new instance of the class.
// Token: 0x060012B0 RID: 4784 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B0")]
[Address(RVA = "0x223D550", Offset = "0x223C350", VA = "0x18223D550")]
public SmtpException()
{
}
/// Initializes a new instance of the class with the specified status code.
/// An value.
// Token: 0x060012B1 RID: 4785 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B1")]
[Address(RVA = "0x223D3C0", Offset = "0x223C1C0", VA = "0x18223D3C0")]
public SmtpException(SmtpStatusCode statusCode)
{
}
/// Initializes a new instance of the class with the specified error message.
/// A that describes the error that occurred.
// Token: 0x060012B2 RID: 4786 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B2")]
[Address(RVA = "0x223D460", Offset = "0x223C260", VA = "0x18223D460")]
public SmtpException(string message)
{
}
/// Initializes a new instance of the class from the specified instances of the and classes.
/// A that contains the information required to serialize the new .
/// A that contains the source and destination of the serialized stream associated with the new instance.
// 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)
{
}
/// Initializes a new instance of the class with the specified status code and error message.
/// An value.
/// A that describes the error that occurred.
// 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)
{
}
/// Initializes a new instance of the class with the specified error message and inner exception.
/// A that describes the error that occurred.
/// The exception that is the cause of the current exception.
// 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)
{
}
/// Populates a instance with the data needed to serialize the .
/// The to populate with data.
/// A that specifies the destination for this serialization.
// 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)
{
}
/// Populates a instance with the data needed to serialize the .
/// A , which holds the serialized data for the .
/// A that contains the destination of the serialized stream associated with the new .
// 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;
}
}