语言

NetworkException.ErrorNetworkChanged 字段

定义

注意

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

错误代码,指示在处理请求时,网络配置已更改。

[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

字段值

Value = 3
特性

注解

错误代码,指示在处理请求时,网络配置已更改。 返回此代码时#getErrorCode,如果使用 QuicException 协议,可能会将此异常强制转换为详细信息。

Java文档android.net.http.NetworkException.ERROR_NETWORK_CHANGED。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于