语言

NetworkException.ErrorAddressUnreachable 字段

定义

注意

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

指示要联系的 IP 地址无法访问的错误代码,这意味着没有路由到指定的主机或网络。

[Android.Runtime.Register("ERROR_ADDRESS_UNREACHABLE", 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 ErrorAddressUnreachable = 9;
[<Android.Runtime.Register("ERROR_ADDRESS_UNREACHABLE", 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 ErrorAddressUnreachable : Android.Net.Http.NetworkExceptionErrorReason

字段值

Value = 9
特性

注解

指示要联系的 IP 地址无法访问的错误代码,这意味着没有路由到指定的主机或网络。

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

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于