WebSocket.IsStateTerminal(WebSocketState) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne une valeur qui indique si l'état de l'instance WebSocket est fermé ou abandonné.
protected:
static bool IsStateTerminal(System::Net::WebSockets::WebSocketState state);
protected static bool IsStateTerminal(System.Net.WebSockets.WebSocketState state);
static member IsStateTerminal : System.Net.WebSockets.WebSocketState -> bool
Protected Shared Function IsStateTerminal (state As WebSocketState) As Boolean
Paramètres
- state
- WebSocketState
État actuel du WebSocket.
Retours
true si WebSocket est fermé ou abandonné ; sinon, false.