using System; using System.ComponentModel; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Net.WebSockets { /// Represents an exception that occurred when performing an operation on a WebSocket connection. // Token: 0x0200032D RID: 813 [Token(Token = "0x200032D")] [Serializable] public sealed class WebSocketException : Win32Exception { /// Creates an instance of the class. // Token: 0x06001514 RID: 5396 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001514")] [Address(RVA = "0x40A490", Offset = "0x409290", VA = "0x18040A490")] public WebSocketException() { } /// Creates an instance of the class. /// The error from the WebSocketError enumeration. // Token: 0x06001515 RID: 5397 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001515")] [Address(RVA = "0x40A100", Offset = "0x408F00", VA = "0x18040A100")] public WebSocketException(WebSocketError error) { } /// Creates an instance of the class. /// The error from the WebSocketError enumeration. /// The description of the error. // Token: 0x06001516 RID: 5398 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001516")] [Address(RVA = "0x40A3A0", Offset = "0x4091A0", VA = "0x18040A3A0")] public WebSocketException(WebSocketError error, string message) { } /// Creates an instance of the class. /// The error from the WebSocketError enumeration. /// Indicates the previous exception that led to the current exception. // Token: 0x06001517 RID: 5399 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001517")] [Address(RVA = "0x40A180", Offset = "0x408F80", VA = "0x18040A180")] public WebSocketException(WebSocketError error, Exception innerException) { } /// Creates an instance of the class. /// The error from the WebSocketError enumeration. /// The description of the error. /// Indicates the previous exception that led to the current exception. // Token: 0x06001518 RID: 5400 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001518")] [Address(RVA = "0x40A210", Offset = "0x409010", VA = "0x18040A210")] public WebSocketException(WebSocketError error, string message, Exception innerException) { } /// Creates an instance of the class. /// The native error code for the exception. // Token: 0x06001519 RID: 5401 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001519")] [Address(RVA = "0x40A2A0", Offset = "0x4090A0", VA = "0x18040A2A0")] public WebSocketException(int nativeError) { } /// Creates an instance of the class. /// The description of the error. // Token: 0x0600151A RID: 5402 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600151A")] [Address(RVA = "0x40A420", Offset = "0x409220", VA = "0x18040A420")] public WebSocketException(string message) { } /// Creates an instance of the class. /// The description of the error. /// Indicates the previous exception that led to the current exception. // Token: 0x0600151B RID: 5403 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600151B")] [Address(RVA = "0x40A320", Offset = "0x409120", VA = "0x18040A320")] public WebSocketException(string message, Exception innerException) { } /// Sets the SerializationInfo object with the file name and line number where the exception occurred. /// A SerializationInfo object. /// The contextual information about the source or destination. // Token: 0x0600151C RID: 5404 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600151C")] [Address(RVA = "0x40A0C0", Offset = "0x408EC0", VA = "0x18040A0C0", Slot = "10")] public override void GetObjectData(SerializationInfo info, StreamingContext context) { } /// The native error code for the exception that occurred. /// Returns . // Token: 0x17000445 RID: 1093 // (get) Token: 0x0600151D RID: 5405 RVA: 0x00009630 File Offset: 0x00007830 [Token(Token = "0x17000445")] public override int ErrorCode { [Token(Token = "0x600151D")] [Address(RVA = "0x404240", Offset = "0x403040", VA = "0x180404240", Slot = "12")] get { return 0; } } // Token: 0x0600151E RID: 5406 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600151E")] [Address(RVA = "0x409F90", Offset = "0x408D90", VA = "0x180409F90")] private static string GetErrorMessage(WebSocketError error) { return null; } // Token: 0x0600151F RID: 5407 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600151F")] [Address(RVA = "0x40A0E0", Offset = "0x408EE0", VA = "0x18040A0E0")] private void SetErrorCodeOnError(int nativeError) { } // Token: 0x06001520 RID: 5408 RVA: 0x00009648 File Offset: 0x00007848 [Token(Token = "0x6001520")] [Address(RVA = "0x40A0F0", Offset = "0x408EF0", VA = "0x18040A0F0")] private static bool Succeeded(int hr) { return default(bool); } // Token: 0x04000DFC RID: 3580 [FieldOffset(Offset = "0x90")] [Token(Token = "0x4000DFC")] private readonly WebSocketError _webSocketErrorCode; } }