ClientWebSocket.State Property

.NET Framework 4.5

Get the WebSocket state of the ClientWebSocket instance.

Namespace:  System.Net.WebSockets
Assembly:  System (in System.dll)

public override WebSocketState State { get; }

Property Value

Type: System.Net.WebSockets.WebSocketState
Returns WebSocketState.
The WebSocket state of the ClientWebSocket instance.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft