语言

VpnManager.ErrorCodeNetworkIo 字段

定义

注意

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

用于#EXTRA_ERROR_CODE#CATEGORY_EVENT_NETWORK_ERROR指示输入/输出错误。

[Android.Runtime.Register("ERROR_CODE_NETWORK_IO", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)]
public const Android.Net.VpnErrorCode ErrorCodeNetworkIo = 3;
[<Android.Runtime.Register("ERROR_CODE_NETWORK_IO", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)>]
val mutable ErrorCodeNetworkIo : Android.Net.VpnErrorCode

字段值

Value = 3
属性

注解

用于#EXTRA_ERROR_CODE#CATEGORY_EVENT_NETWORK_ERROR指示输入/输出错误。

当读取或写入基础网络上的套接字时,此代码会因 I/O 错误终止。 IOException。

Java文档android.net.VpnManager.ERROR_CODE_NETWORK_IO。

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

适用于