m
This commit is contained in:
@@ -0,0 +1,143 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.WebSockets
|
||||
{
|
||||
/// <summary>Represents an exception that occurred when performing an operation on a WebSocket connection.</summary>
|
||||
// Token: 0x02000329 RID: 809
|
||||
[Token(Token = "0x2000329")]
|
||||
[Serializable]
|
||||
public sealed class WebSocketException : Win32Exception
|
||||
{
|
||||
/// <summary>Creates an instance of the <see cref="T:System.Net.WebSockets.WebSocketException" /> class.</summary>
|
||||
// Token: 0x060014FE RID: 5374 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60014FE")]
|
||||
[Address(RVA = "0x77BB60", Offset = "0x77AB60", VA = "0x18077BB60")]
|
||||
public WebSocketException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the <see cref="T:System.Net.WebSockets.WebSocketException" /> class.</summary>
|
||||
/// <param name="error">The error from the WebSocketError enumeration.</param>
|
||||
// Token: 0x060014FF RID: 5375 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60014FF")]
|
||||
[Address(RVA = "0x77B7D0", Offset = "0x77A7D0", VA = "0x18077B7D0")]
|
||||
public WebSocketException(WebSocketError error)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the <see cref="T:System.Net.WebSockets.WebSocketException" /> class.</summary>
|
||||
/// <param name="error">The error from the WebSocketError enumeration.</param>
|
||||
/// <param name="message">The description of the error.</param>
|
||||
// Token: 0x06001500 RID: 5376 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001500")]
|
||||
[Address(RVA = "0x77BA70", Offset = "0x77AA70", VA = "0x18077BA70")]
|
||||
public WebSocketException(WebSocketError error, string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the <see cref="T:System.Net.WebSockets.WebSocketException" /> class.</summary>
|
||||
/// <param name="error">The error from the WebSocketError enumeration.</param>
|
||||
/// <param name="innerException">Indicates the previous exception that led to the current exception.</param>
|
||||
// Token: 0x06001501 RID: 5377 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001501")]
|
||||
[Address(RVA = "0x77B850", Offset = "0x77A850", VA = "0x18077B850")]
|
||||
public WebSocketException(WebSocketError error, Exception innerException)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the <see cref="T:System.Net.WebSockets.WebSocketException" /> class.</summary>
|
||||
/// <param name="error">The error from the WebSocketError enumeration.</param>
|
||||
/// <param name="message">The description of the error.</param>
|
||||
/// <param name="innerException">Indicates the previous exception that led to the current exception.</param>
|
||||
// Token: 0x06001502 RID: 5378 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001502")]
|
||||
[Address(RVA = "0x77B8E0", Offset = "0x77A8E0", VA = "0x18077B8E0")]
|
||||
public WebSocketException(WebSocketError error, string message, Exception innerException)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the <see cref="T:System.Net.WebSockets.WebSocketException" /> class.</summary>
|
||||
/// <param name="nativeError">The native error code for the exception.</param>
|
||||
// Token: 0x06001503 RID: 5379 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001503")]
|
||||
[Address(RVA = "0x77B970", Offset = "0x77A970", VA = "0x18077B970")]
|
||||
public WebSocketException(int nativeError)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the <see cref="T:System.Net.WebSockets.WebSocketException" /> class.</summary>
|
||||
/// <param name="message">The description of the error.</param>
|
||||
// Token: 0x06001504 RID: 5380 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001504")]
|
||||
[Address(RVA = "0x77BAF0", Offset = "0x77AAF0", VA = "0x18077BAF0")]
|
||||
public WebSocketException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the <see cref="T:System.Net.WebSockets.WebSocketException" /> class.</summary>
|
||||
/// <param name="message">The description of the error.</param>
|
||||
/// <param name="innerException">Indicates the previous exception that led to the current exception.</param>
|
||||
// Token: 0x06001505 RID: 5381 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001505")]
|
||||
[Address(RVA = "0x77B9F0", Offset = "0x77A9F0", VA = "0x18077B9F0")]
|
||||
public WebSocketException(string message, Exception innerException)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the SerializationInfo object with the file name and line number where the exception occurred.</summary>
|
||||
/// <param name="info">A SerializationInfo object.</param>
|
||||
/// <param name="context">The contextual information about the source or destination.</param>
|
||||
// Token: 0x06001506 RID: 5382 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001506")]
|
||||
[Address(RVA = "0x77B790", Offset = "0x77A790", VA = "0x18077B790", Slot = "10")]
|
||||
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>The native error code for the exception that occurred.</summary>
|
||||
/// <returns>Returns <see cref="T:System.Int32" />.</returns>
|
||||
// Token: 0x17000441 RID: 1089
|
||||
// (get) Token: 0x06001507 RID: 5383 RVA: 0x00009618 File Offset: 0x00007818
|
||||
[Token(Token = "0x17000441")]
|
||||
public override int ErrorCode
|
||||
{
|
||||
[Token(Token = "0x6001507")]
|
||||
[Address(RVA = "0x4F3F50", Offset = "0x4F2F50", VA = "0x1804F3F50", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001508 RID: 5384 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001508")]
|
||||
[Address(RVA = "0x77B660", Offset = "0x77A660", VA = "0x18077B660")]
|
||||
private static string GetErrorMessage(WebSocketError error)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001509 RID: 5385 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001509")]
|
||||
[Address(RVA = "0x77B7B0", Offset = "0x77A7B0", VA = "0x18077B7B0")]
|
||||
private void SetErrorCodeOnError(int nativeError)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600150A RID: 5386 RVA: 0x00009630 File Offset: 0x00007830
|
||||
[Token(Token = "0x600150A")]
|
||||
[Address(RVA = "0x77B7C0", Offset = "0x77A7C0", VA = "0x18077B7C0")]
|
||||
private static bool Succeeded(int hr)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x04000DEF RID: 3567
|
||||
[FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x4000DEF")]
|
||||
private readonly WebSocketError _webSocketErrorCode;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user