ClientWebSocket.CloseStatus 属性

定义

获取在 ClientWebSocket 实例上启动关闭握手的原因。

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)

属性值

启动关闭握手的原因。

适用于