Udostępnij za pośrednictwem


VpnManager.ErrorCodeNetworkIo Field

Definition

Caution

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

An #EXTRA_ERROR_CODE for #CATEGORY_EVENT_NETWORK_ERROR indicating an input/output 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

Field Value

Value = 3
Attributes

Remarks

An #EXTRA_ERROR_CODE for #CATEGORY_EVENT_NETWORK_ERROR indicating an input/output error.

This code happens when reading or writing to sockets on the underlying networks was terminated by an I/O error. IOException.

Java documentation for android.net.VpnManager.ERROR_CODE_NETWORK_IO.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to