WebSocketError Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the list of possible WebSocket errors.
public enum class WebSocketError
public enum WebSocketError
type WebSocketError =
Public Enum WebSocketError
- Inheritance
Fields
ConnectionClosedPrematurely | 8 | Indicates that the connection was terminated unexpectedly. |
Faulted | 2 | Indicates a general error. |
HeaderError | 7 | Indicates an error occurred when parsing the HTTP headers during the opening handshake. |
InvalidMessageType | 1 | Indicates that a WebSocket frame with an unknown opcode was received. |
InvalidState | 9 | Indicates the WebSocket is an invalid state for the given operation (such as being closed or aborted). |
NativeError | 3 | Indicates that an unknown native error occurred. |
NotAWebSocket | 4 | Indicates that the incoming request was not a valid websocket request. |
Success | 0 | Indicates that there was no native error information for the exception. |
UnsupportedProtocol | 6 | Indicates that the client requested an unsupported WebSocket subprotocol. |
UnsupportedVersion | 5 | Indicates that the client requested an unsupported version of the WebSocket protocol. |
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za