AspNetWebSocket.State Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.