95 lines
5.8 KiB
C#
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: 0x020002BF RID: 703
|
|
[Token(Token = "0x20002BF")]
|
|
[Serializable]
|
|
public class SmtpException : Exception, ISerializable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class.</summary>
|
|
// Token: 0x0600129A RID: 4762 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600129A")]
|
|
[Address(RVA = "0x8B8120", Offset = "0x8B7120", VA = "0x1808B8120")]
|
|
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: 0x0600129B RID: 4763 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600129B")]
|
|
[Address(RVA = "0x8B7F90", Offset = "0x8B6F90", VA = "0x1808B7F90")]
|
|
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: 0x0600129C RID: 4764 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600129C")]
|
|
[Address(RVA = "0x8B8030", Offset = "0x8B7030", VA = "0x1808B8030")]
|
|
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: 0x0600129D RID: 4765 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600129D")]
|
|
[Address(RVA = "0x8B81B0", Offset = "0x8B71B0", VA = "0x1808B81B0")]
|
|
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: 0x0600129E RID: 4766 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600129E")]
|
|
[Address(RVA = "0x8B80A0", Offset = "0x8B70A0", VA = "0x1808B80A0")]
|
|
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: 0x0600129F RID: 4767 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600129F")]
|
|
[Address(RVA = "0x8B8130", Offset = "0x8B7130", VA = "0x1808B8130")]
|
|
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: 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)
|
|
{
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
}
|