Share via


NetworkException.ErrorHostnameNotResolved 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 host being sent the request could not be resolved to an IP address.

[Android.Runtime.Register("ERROR_HOSTNAME_NOT_RESOLVED", 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 ErrorHostnameNotResolved = 1;
[<Android.Runtime.Register("ERROR_HOSTNAME_NOT_RESOLVED", 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 ErrorHostnameNotResolved : Android.Net.Http.NetworkExceptionErrorReason

Field Value

Value = 1
Attributes

Remarks

Error code indicating the host being sent the request could not be resolved to an IP address.

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

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