WebSocket.CloseStatus Proprietà

Definizione

Indica il motivo per cui l'endpoint remoto ha avviato l'handshake di chiusura.

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

Valore della proprietà

Nullable<WebSocketCloseStatus>

Restituisce WebSocketCloseStatus.

Commenti

Se l'handshake di chiusura non è ancora stato avviato, viene restituito WebSocketCloseStatus.None.

Si applica a