语言

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。

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

适用于