語言

NetworkException.ErrorInternetDisconnected 欄位

定義

警告

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

錯誤代碼顯示該裝置未連接任何網路。

[Android.Runtime.Register("ERROR_INTERNET_DISCONNECTED", 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 ErrorInternetDisconnected = 2;
[<Android.Runtime.Register("ERROR_INTERNET_DISCONNECTED", 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 ErrorInternetDisconnected : Android.Net.Http.NetworkExceptionErrorReason

欄位值

Value = 2
屬性

備註

錯誤代碼顯示該裝置未連接任何網路。

Java 文件 android.net.http.NetworkException.ERROR_INTERNET_DISCONNECTED。

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

適用於