Socket.KeepAlive Propriété
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.
Tests s’il SocketOptions#SO_KEEPALIVE SO_KEEPALIVE est activé. -ou- Activer/désactiver SocketOptions#SO_KEEPALIVE SO_KEEPALIVE.
public virtual bool KeepAlive { [Android.Runtime.Register("getKeepAlive", "()Z", "GetGetKeepAliveHandler")] get; [Android.Runtime.Register("setKeepAlive", "(Z)V", "GetSetKeepAlive_ZHandler")] set; }
[<get: Android.Runtime.Register("getKeepAlive", "()Z", "GetGetKeepAliveHandler")>]
[<set: Android.Runtime.Register("setKeepAlive", "(Z)V", "GetSetKeepAlive_ZHandler")>]
member this.KeepAlive : bool with get, set
Valeur de propriété
indiquant boolean si elle est activée ou non SocketOptions#SO_KEEPALIVE SO_KEEPALIVE .
- Attributs
Exceptions
Remarques
Documentation getter de propriété :
Tests s’il SocketOptions#SO_KEEPALIVE SO_KEEPALIVE est activé.
Ajouté dans la version 1.3.
Documentation Java pour java.net.Socket.getKeepAlive().
Documentation du jeu de propriétés :
Activer/désactiver SocketOptions#SO_KEEPALIVE SO_KEEPALIVE.
Ajouté dans la version 1.3.
Documentation Java pour java.net.Socket.setKeepAlive(boolean).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.