Langue

VpnManager.ErrorCodeNetworkLost Champ

Définition

Attention

This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.

#EXTRA_ERROR_CODE Pour #CATEGORY_EVENT_NETWORK_ERROR indiquer que la connectivité réseau a été perdue.

[Android.Runtime.Register("ERROR_CODE_NETWORK_LOST", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)]
public const Android.Net.VpnErrorCode ErrorCodeNetworkLost = 2;
[<Android.Runtime.Register("ERROR_CODE_NETWORK_LOST", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)>]
val mutable ErrorCodeNetworkLost : Android.Net.VpnErrorCode

Valeur de champ

Value = 2
Attributs

Remarques

#EXTRA_ERROR_CODE Pour #CATEGORY_EVENT_NETWORK_ERROR indiquer que la connectivité réseau a été perdue.

La raison la plus courante de cette erreur est que le réseau sous-jacent a été déconnecté. android.net.ipsec.ike.exceptions.IkeNetworkLostException

Documentation Java pour android.net.VpnManager.ERROR_CODE_NETWORK_LOST.

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.

S’applique à