Partager via


NetworkException.ErrorConnectionClosed 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 was closed unexpectedly.

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

Field Value

Value = 5
Attributes

Remarks

Error code indicating the connection was closed unexpectedly.

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

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