Edit

Share via


AspNetWebSocket.State Property

Definition

Gets a value that indicates the open or closed state of an AspNetWebSocket object.

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

Property Value

The current state.

Exceptions

The object was previously disposed.

Applies to