Edit

Share via


AspNetWebSocket.CloseStatus Property

Definition

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

public:
 virtual property Nullable<System::Net::WebSockets::WebSocketCloseStatus> CloseStatus { Nullable<System::Net::WebSockets::WebSocketCloseStatus> get(); };
public override System.Net.WebSockets.WebSocketCloseStatus? CloseStatus { get; }
member this.CloseStatus : Nullable<System.Net.WebSockets.WebSocketCloseStatus>
Public Overrides ReadOnly Property CloseStatus As Nullable(Of WebSocketCloseStatus)

Property Value

The status code.

Exceptions

The object was previously disposed.

Applies to