Langue

NetworkException.ErrorNetworkChanged Champ

Définition

Attention

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

Code d’erreur indiquant que lorsque la demande a été traitée, la configuration réseau a changé.

[Android.Runtime.Register("ERROR_NETWORK_CHANGED", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.NetworkExceptionErrorReason enum directly instead of this field.", true)]
public const Android.Net.Http.NetworkExceptionErrorReason ErrorNetworkChanged = 3;
[<Android.Runtime.Register("ERROR_NETWORK_CHANGED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.NetworkExceptionErrorReason enum directly instead of this field.", true)>]
val mutable ErrorNetworkChanged : Android.Net.Http.NetworkExceptionErrorReason

Valeur de champ

Value = 3
Attributs

Remarques

Code d’erreur indiquant que lorsque la demande a été traitée, la configuration réseau a changé. Lorsque #getErrorCode vous retournez ce code, cette exception peut être convertie QuicException pour plus d’informations si le protocole QUIC est utilisé.

Java documentation pour android.net.http.NetworkException.ERROR_NETWORK_CHANGED.

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 à