Linguaggio

Socket.KeepAlive Proprietà

Definizione

Verifica se SocketOptions#SO_KEEPALIVE SO_KEEPALIVE è abilitato. -oppure- Abilitare/disabilitare 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

Valore della proprietà

oggetto boolean che indica se è abilitato o meno SocketOptions#SO_KEEPALIVE SO_KEEPALIVE .

Attributi

Eccezioni

Commenti

Documentazione del getter delle proprietà:

Verifica se SocketOptions#SO_KEEPALIVE SO_KEEPALIVE è abilitato.

Aggiunta nella versione 1.3.

per java.net.Socket.getKeepAlive().

Documentazione del setter delle proprietà:

Abilitare/disabilitare SocketOptions#SO_KEEPALIVE SO_KEEPALIVE.

Aggiunta nella versione 1.3.

per java.net.Socket.setKeepAlive(boolean).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a