NetworkException.ErrorHostnameNotResolved 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 所創建與分享的作品,並依授權條款所描述的使用進行修改。