Share via


NetworkException.ErrorConnectionRefused 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 connection attempt was refused.

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

Field Value

Value = 7
Attributes

Remarks

Error code indicating the connection attempt was refused.

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

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