语言

NetworkException.ErrorConnectionTimedOut 字段

定义

注意

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

指示连接尝试超时的错误代码。

[Android.Runtime.Register("ERROR_CONNECTION_TIMED_OUT", 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 ErrorConnectionTimedOut = 6;
[<Android.Runtime.Register("ERROR_CONNECTION_TIMED_OUT", 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 ErrorConnectionTimedOut : Android.Net.Http.NetworkExceptionErrorReason

字段值

Value = 6
特性

注解

指示连接尝试超时的错误代码。

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

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于