Språk

NetworkException.ErrorCode Property

Definition

Gets the reason for the network error.

public abstract Android.Net.Http.NetworkExceptionErrorReason ErrorCode { [Android.Runtime.Register("getErrorCode", "()I", "GetGetErrorCodeHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getErrorCode", "()I", "GetGetErrorCodeHandler", ApiSince=34)>]
member this.ErrorCode : Android.Net.Http.NetworkExceptionErrorReason

Property Value

A NetworkExceptionErrorReason value that identifies the error.

Attributes

Remarks

Gets the reason for the network error.

Android reference for android.net.http.NetworkException.getErrorCode.

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