WebSocketReceiveResult.CloseStatus Property

Definition

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

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

Property Value

Returns WebSocketCloseStatus.

Applies to