WebSocket.CloseStatus WebSocket.CloseStatus WebSocket.CloseStatus WebSocket.CloseStatus Property

Definition

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

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

Property Value

Remarks

If the close handshake has not been initiated yet, WebSocketCloseStatus.None is returned.

Applies to