Edit

Share via


ClientWebSocket.CloseStatus Property

Definition

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

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 reason why the close handshake was initiated.

Applies to