System.Net.WebSockets.WebSocket.CloseStatus Property

Indicates the reason why the remote endpoint initiated the close handshake.

Syntax

public abstract Nullable<WebSocketCloseStatus> CloseStatus { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the close handshake has not been initiated yet, WebSocketCloseStatus.None is returned.

Requirements

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