语言

NetworkException.ErrorHostnameNotResolved 字段

定义

注意

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_HOSTNAME_NOT_RESOLVED", 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 ErrorHostnameNotResolved = 1;
[<Android.Runtime.Register("ERROR_HOSTNAME_NOT_RESOLVED", 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 ErrorHostnameNotResolved : Android.Net.Http.NetworkExceptionErrorReason

字段值

Value = 1
特性

注解

指示发送请求的主机无法解析为 IP 地址的错误代码。

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

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

适用于