Partager via


NetworkException.ErrorAddressUnreachable Field

Definition

Caution

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

Error code indicating the IP address being contacted is unreachable, meaning there is no route to the specified host or network.

[Android.Runtime.Register("ERROR_ADDRESS_UNREACHABLE", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.NetworkExceptionErrorReason enum directly instead of this field.", true)]
public const Android.Net.Http.NetworkExceptionErrorReason ErrorAddressUnreachable = 9;
[<Android.Runtime.Register("ERROR_ADDRESS_UNREACHABLE", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.NetworkExceptionErrorReason enum directly instead of this field.", true)>]
val mutable ErrorAddressUnreachable : Android.Net.Http.NetworkExceptionErrorReason

Field Value

Value = 9
Attributes

Remarks

Error code indicating the IP address being contacted is unreachable, meaning there is no route to the specified host or network.

Java documentation for android.net.http.NetworkException.ERROR_ADDRESS_UNREACHABLE.

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