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: 0x020002BF RID: 703
[Token(Token = "0x20002BF")]
[Serializable]
public class SmtpException : Exception, ISerializable
{
/// Initializes a new instance of the class.
// Token: 0x0600129A RID: 4762 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129A")]
[Address(RVA = "0x8B8120", Offset = "0x8B7120", VA = "0x1808B8120")]
public SmtpException()
{
}
/// Initializes a new instance of the class with the specified status code.
/// An value.
// Token: 0x0600129B RID: 4763 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129B")]
[Address(RVA = "0x8B7F90", Offset = "0x8B6F90", VA = "0x1808B7F90")]
public SmtpException(SmtpStatusCode statusCode)
{
}
/// Initializes a new instance of the class with the specified error message.
/// A that describes the error that occurred.
// Token: 0x0600129C RID: 4764 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129C")]
[Address(RVA = "0x8B8030", Offset = "0x8B7030", VA = "0x1808B8030")]
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: 0x0600129D RID: 4765 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129D")]
[Address(RVA = "0x8B81B0", Offset = "0x8B71B0", VA = "0x1808B81B0")]
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: 0x0600129E RID: 4766 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129E")]
[Address(RVA = "0x8B80A0", Offset = "0x8B70A0", VA = "0x1808B80A0")]
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: 0x0600129F RID: 4767 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129F")]
[Address(RVA = "0x8B8130", Offset = "0x8B7130", VA = "0x1808B8130")]
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: 0x060012A0 RID: 4768 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012A0")]
[Address(RVA = "0x8B7E80", Offset = "0x8B6E80", VA = "0x1808B7E80", 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: 0x060012A1 RID: 4769 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012A1")]
[Address(RVA = "0x7754F0", Offset = "0x7744F0", VA = "0x1807754F0", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x04000B02 RID: 2818
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x4000B02")]
private SmtpStatusCode statusCode;
}
}