Share via


NetworkErrorException Constructors

Definition

Overloads

NetworkErrorException()
NetworkErrorException(Throwable)
NetworkErrorException(String)
NetworkErrorException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

NetworkErrorException(String, Throwable)

NetworkErrorException()

[Android.Runtime.Register(".ctor", "()V", "")]
public NetworkErrorException ();
Attributes

Remarks

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

NetworkErrorException(Throwable)

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public NetworkErrorException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Android.Accounts.NetworkErrorException : Java.Lang.Throwable -> Android.Accounts.NetworkErrorException

Parameters

cause
Throwable
Attributes

Remarks

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

NetworkErrorException(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public NetworkErrorException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Accounts.NetworkErrorException : string -> Android.Accounts.NetworkErrorException

Parameters

message
String
Attributes

Remarks

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

NetworkErrorException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected NetworkErrorException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Accounts.NetworkErrorException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Accounts.NetworkErrorException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

NetworkErrorException(String, Throwable)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public NetworkErrorException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Android.Accounts.NetworkErrorException : string * Java.Lang.Throwable -> Android.Accounts.NetworkErrorException

Parameters

message
String
cause
Throwable
Attributes

Remarks

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