Compartilhar via


VcnManager.VcnErrorCodeNetworkError Field

Definition

Caution

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

Value indicating that a Network error occurred with this Gateway Connection.

[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

Field Value

Value = 2
Attributes

Remarks

Value indicating that a Network error occurred with this Gateway Connection.

For example, this error code will be returned if an underlying android.net.Network for this Gateway Connection is lost, or if an error occurs while resolving the connection endpoint address.

Java documentation for android.net.vcn.VcnManager.VCN_ERROR_CODE_NETWORK_ERROR.

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