AspNetWebSocket.State 属性

定义

获取一个值,该值指示 AspNetWebSocket 对象的打开或关闭状态。

public:
 virtual property System::Net::WebSockets::WebSocketState State { System::Net::WebSockets::WebSocketState get(); };
public override System.Net.WebSockets.WebSocketState State { get; }
member this.State : System.Net.WebSockets.WebSocketState
Public Overrides ReadOnly Property State As WebSocketState

属性值

WebSocketState

当前状态。

例外

对象已释放。

适用于