共用方式為


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)

屬性值

已起始關閉訊號交換的原因。

適用於