共用方式為


AspNetWebSocket.CloseStatus 屬性

定義

取得狀態碼,指出為什麼 AspNetWebSocket 物件已關閉。

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)

屬性值

Nullable<WebSocketCloseStatus>

狀態碼。

例外狀況

之前已處置物件。

適用於