Export (0) Print
Expand All

WebSocket::CloseStatus Property

.NET Framework 4.5

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

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

public:
virtual property Nullable<WebSocketCloseStatus> CloseStatus {
	Nullable<WebSocketCloseStatus> get () abstract;
}

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

.NET Framework

Supported in: 4.5.3
Show:
© 2014 Microsoft