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

115 lines
4.5 KiB
C#

using System;
using System.ComponentModel;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Net.Sockets
{
/// <summary>The exception that is thrown when a socket error occurs.</summary>
// Token: 0x020002D5 RID: 725
[Token(Token = "0x20002D5")]
[Serializable]
public class SocketException : Win32Exception
{
// Token: 0x0600132E RID: 4910 RVA: 0x00008B08 File Offset: 0x00006D08
[Token(Token = "0x600132E")]
[Address(RVA = "0x2626030", Offset = "0x2624E30", VA = "0x182626030")]
private static int WSAGetLastError_internal()
{
return 0;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Sockets.SocketException" /> class with the last operating system error code.</summary>
// Token: 0x0600132F RID: 4911 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600132F")]
[Address(RVA = "0x26261F0", Offset = "0x2624FF0", VA = "0x1826261F0")]
public SocketException()
{
}
// Token: 0x06001330 RID: 4912 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001330")]
[Address(RVA = "0x2626180", Offset = "0x2624F80", VA = "0x182626180")]
internal SocketException(int error, string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Sockets.SocketException" /> class with the specified error code.</summary>
/// <param name="errorCode">The error code that indicates the error that occurred.</param>
// Token: 0x06001331 RID: 4913 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001331")]
[Address(RVA = "0x2626040", Offset = "0x2624E40", VA = "0x182626040")]
public SocketException(int errorCode)
{
}
// Token: 0x06001332 RID: 4914 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001332")]
[Address(RVA = "0x26260A0", Offset = "0x2624EA0", VA = "0x1826260A0")]
internal SocketException(SocketError socketError)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Sockets.SocketException" /> 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" /> instance that contains the information that is required to serialize the new <see cref="T:System.Net.Sockets.SocketException" /> instance.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream that is associated with the new <see cref="T:System.Net.Sockets.SocketException" /> instance.</param>
// Token: 0x06001333 RID: 4915 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001333")]
[Address(RVA = "0x2626100", Offset = "0x2624F00", VA = "0x182626100")]
protected SocketException(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>Gets the error code that is associated with this exception.</summary>
/// <returns>An integer error code that is associated with this exception.</returns>
// Token: 0x170003E8 RID: 1000
// (get) Token: 0x06001334 RID: 4916 RVA: 0x00008B20 File Offset: 0x00006D20
[Token(Token = "0x170003E8")]
public override int ErrorCode
{
[Token(Token = "0x6001334")]
[Address(RVA = "0x404240", Offset = "0x403040", VA = "0x180404240", Slot = "12")]
get
{
return 0;
}
}
/// <summary>Gets the error message that is associated with this exception.</summary>
/// <returns>A string that contains the error message.</returns>
// Token: 0x170003E9 RID: 1001
// (get) Token: 0x06001335 RID: 4917 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003E9")]
public override string Message
{
[Token(Token = "0x6001335")]
[Address(RVA = "0x2626260", Offset = "0x2625060", VA = "0x182626260", Slot = "5")]
get
{
return null;
}
}
/// <summary>Gets the error code that is associated with this exception.</summary>
/// <returns>An integer error code that is associated with this exception.</returns>
// Token: 0x170003EA RID: 1002
// (get) Token: 0x06001336 RID: 4918 RVA: 0x00008B38 File Offset: 0x00006D38
[Token(Token = "0x170003EA")]
public SocketError SocketErrorCode
{
[Token(Token = "0x6001336")]
[Address(RVA = "0x404240", Offset = "0x403040", VA = "0x180404240")]
get
{
return SocketError.Success;
}
}
// Token: 0x04000B76 RID: 2934
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x4000B76")]
[NonSerialized]
private EndPoint m_EndPoint;
}
}