AspNetWebSocket.CloseStatus Property

.NET Framework (current version)
 

Gets a status code that indicates why an AspNetWebSocket object was closed.

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

public override Nullable<WebSocketCloseStatus> CloseStatus { get; }

Property Value

Type: System.Nullable<WebSocketCloseStatus>

The status code.

Exception Condition
ObjectDisposedException

The object was previously disposed.

.NET Framework
Available since 4.5
Return to top
Show: