語言

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。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於