WebSocket.State 属性

定义

返回 WebSocket 连接的当前状态。

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

属性值

WebSocket 连接的当前状态。

适用于