Language

GetCredentialException Constructors

Definition

Overloads

Name Description
GetCredentialException(String)

Constructs a GetCredentialException.

GetCredentialException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

GetCredentialException(String, Throwable)

Constructs a GetCredentialException.

GetCredentialException(String, String)

Constructs a GetCredentialException.

GetCredentialException(String, String, Throwable)

Constructs a GetCredentialException.

GetCredentialException(String)

Constructs a GetCredentialException.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)]
public GetCredentialException(string type);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)>]
new Android.Credentials.GetCredentialException : string -> Android.Credentials.GetCredentialException

Parameters

type
String

The non-empty string that identifies the credential retrieval error.

Attributes

Remarks

Constructs a GetCredentialException.

Java documentation for android.credentials.GetCredentialException.GetCredentialException(java.lang.String).

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

GetCredentialException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to

GetCredentialException(String, Throwable)

Constructs a GetCredentialException.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)]
public GetCredentialException(string type, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.Credentials.GetCredentialException : string * Java.Lang.Throwable -> Android.Credentials.GetCredentialException

Parameters

type
String

The non-empty string that identifies the credential retrieval error.

cause
Throwable

The exception that caused this error, or null if no cause is supplied.

Attributes

Remarks

Constructs a GetCredentialException.

Java documentation for android.credentials.GetCredentialException.GetCredentialException(java.lang.String, java.lang.Throwable).

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

GetCredentialException(String, String)

Constructs a GetCredentialException.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=34)]
public GetCredentialException(string type, string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=34)>]
new Android.Credentials.GetCredentialException : string * string -> Android.Credentials.GetCredentialException

Parameters

type
String

The non-empty string that identifies the credential retrieval error.

message
String

The error message, or null if no message is supplied.

Attributes

Remarks

Constructs a GetCredentialException.

Java documentation for android.credentials.GetCredentialException.GetCredentialException(java.lang.String, java.lang.String).

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

GetCredentialException(String, String, Throwable)

Constructs a GetCredentialException.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)]
public GetCredentialException(string type, string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.Credentials.GetCredentialException : string * string * Java.Lang.Throwable -> Android.Credentials.GetCredentialException

Parameters

type
String

The non-empty string that identifies the credential retrieval error.

message
String

The error message, or null if no message is supplied.

cause
Throwable

The exception that caused this error, or null if no cause is supplied.

Attributes

Remarks

Constructs a GetCredentialException.

Java documentation for android.credentials.GetCredentialException.GetCredentialException(java.lang.String, java.lang.String, java.lang.Throwable).

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