WebSocket::IsStateTerminal Method (WebSocketState)
.NET Framework (current version)
Returns a value that indicates if the state of the WebSocket instance is closed or aborted.
Assembly: System (in System.dll)
Parameters
- state
-
Type:
System.Net.WebSockets::WebSocketState
The current state of the WebSocket.
Return Value
Type: System::BooleanReturns Boolean.
true if the WebSocket is closed or aborted; otherwise false.
.NET Framework
Available since 4.5
Available since 4.5
Show: