CloseStatus Property
Collapse the table of content
Expand the table of content

ClientWebSocket.CloseStatus Property

.NET Framework (current version)
 

Gets the reason why the close handshake was initiated on ClientWebSocket instance.

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

public override Nullable<WebSocketCloseStatus> CloseStatus { get; }

Property Value

Type: System.Nullable<WebSocketCloseStatus>

Returns WebSocketCloseStatus.

The reason why the close handshake was initiated.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft