System.Net.WebSockets.WebSocket.IsStateTerminal Method

Returns a value that indicates if the state of the WebSocket instance is closed or aborted.

Syntax

protected static bool IsStateTerminal (WebSocketState state)

Parameters

state
The current state of the WebSocket.

Returns

Returns bool.

true if the System.Net.WebSockets.WebSocket is closed or aborted; otherwise false.

Remarks

Documentation for this section has not yet been entered.

Requirements

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