語言

VpnManager.ErrorCodeNetworkProtocolTimeout 欄位

定義

警告

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

A #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
屬性

備註

A #EXTRA_ERROR_CODE 表示 #CATEGORY_EVENT_NETWORK_ERROR 暫停。

對於 Ikev2 VPN,這種情況通常發生在重傳失敗之後。 android.net.ipsec.ike.exceptions.IkeTimeoutException

Java 文件 android.net.VpnManager.ERROR_CODE_NETWORK_PROTOCOL_TIMEOUT。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於