VpnManager.ErrorCodeNetworkUnknownHost Campo

Definizione

Attenzione

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

Oggetto #EXTRA_ERROR_CODE per #CATEGORY_EVENT_NETWORK_ERROR indicare che l'host di rete non è noto.

[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

Valore del campo

Value = 0
Attributi

Commenti

Oggetto #EXTRA_ERROR_CODE per #CATEGORY_EVENT_NETWORK_ERROR indicare che l'host di rete non è noto.

Ciò si verifica quando la risoluzione dei nomi di dominio non è in grado di risolvere un indirizzo IP per l'host specificato. java.net.UnknownHostException

per android.net.VpnManager.ERROR_CODE_NETWORK_UNKNOWN_HOST.

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