Langue

VpnManager.ErrorCodeNetworkUnknownHost Champ

Définition

Attention

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

Pour #EXTRA_ERROR_CODE#CATEGORY_EVENT_NETWORK_ERROR indiquer que l’hôte réseau n’est pas connu.

[Android.Runtime.Register("ERROR_CODE_NETWORK_UNKNOWN_HOST", 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 ErrorCodeNetworkUnknownHost = 0;
[<Android.Runtime.Register("ERROR_CODE_NETWORK_UNKNOWN_HOST", 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 ErrorCodeNetworkUnknownHost : Android.Net.VpnErrorCode

Valeur de champ

Value = 0
Attributs

Remarques

Pour #EXTRA_ERROR_CODE#CATEGORY_EVENT_NETWORK_ERROR indiquer que l’hôte réseau n’est pas connu.

Cela se produit lorsque la résolution de noms de domaine n’a pas pu résoudre une adresse IP pour l’hôte spécifié. java.net.UnknownHostException

Java documentation pour android.net.VpnManager.ERROR_CODE_NETWORK_UNKNOWN_HOST.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à