语言

NetworkException.ErrorConnectionRefused 字段

定义

注意

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_REFUSED", 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 ErrorConnectionRefused = 7;
[<Android.Runtime.Register("ERROR_CONNECTION_REFUSED", 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 ErrorConnectionRefused : Android.Net.Http.NetworkExceptionErrorReason

字段值

Value = 7
特性

注解

指示连接尝试被拒绝的错误代码。

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

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

适用于