WebSocketCloseReason 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.
The reason the WebSocket connection closed.
public enum WebSocketCloseReason
type WebSocketCloseReason =
Public Enum WebSocketCloseReason
- Inheritance
-
WebSocketCloseReason
Fields
| Name | Value | Description |
|---|---|---|
| Unknown | 0 | |
| ClientGracefulClose | 1 | |
| ServerGracefulClose | 2 | |
| ClientDisconnect | 3 | |
| ServerDisconnect | 4 | |
| ActivityTimeout | 5 |