WebSocket.State Property  
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.
Returns the current state of the WebSocket connection.
public:
 abstract property System::Net::WebSockets::WebSocketState State { System::Net::WebSockets::WebSocketState get(); };public abstract System.Net.WebSockets.WebSocketState State { get; }member this.State : System.Net.WebSockets.WebSocketStatePublic MustOverride ReadOnly Property State As WebSocketStateProperty Value
The current state of the WebSocket connection.