State Property
Collapse the table of content
Expand the table of content

ClientWebSocket.State Property

.NET Framework (current version)
 

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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft