语言

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)

属性值

状态代码。

例外

该对象以前已释放。

适用于