语言

VpnManager.ErrorCodeNetworkProtocolTimeout 字段

定义

注意

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_PROTOCOL_TIMEOUT", 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 ErrorCodeNetworkProtocolTimeout = 1;
[<Android.Runtime.Register("ERROR_CODE_NETWORK_PROTOCOL_TIMEOUT", 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 ErrorCodeNetworkProtocolTimeout : Android.Net.VpnErrorCode

字段值

Value = 1
属性

注解

指示#EXTRA_ERROR_CODE超时的一#CATEGORY_EVENT_NETWORK_ERROR个。

对于 Ikev2 VPN,这通常在重新传输失败后发生。 android.net.ipsec.ike.exceptions.IkeTimeoutException

Java文档android.net.VpnManager.ERROR_CODE_NETWORK_PROTOCOL_TIMEOUT。

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

适用于