语言

VcnManager.VcnErrorCodeNetworkError 字段

定义

注意

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

指示此网关连接发生网络错误的值。

[Android.Runtime.Register("VCN_ERROR_CODE_NETWORK_ERROR", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Vcn.VcnErrorCode enum directly instead of this field.", true)]
public const Android.Net.Vcn.VcnErrorCode VcnErrorCodeNetworkError = 2;
[<Android.Runtime.Register("VCN_ERROR_CODE_NETWORK_ERROR", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Vcn.VcnErrorCode enum directly instead of this field.", true)>]
val mutable VcnErrorCodeNetworkError : Android.Net.Vcn.VcnErrorCode

字段值

Value = 2
属性

注解

指示此网关连接发生网络错误的值。

例如,如果丢失此网关连接的基础 android.net.Network ,或者解析连接终结点地址时发生错误,则返回此错误代码。

Java文档android.net.vcn.VcnManager.VCN_ERROR_CODE_NETWORK_ERROR。

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

适用于