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>

状态代码。

例外

对象已释放。

适用于