Language

CreateCredentialException Constructors

Definition

Overloads

Name Description
CreateCredentialException(String)

Constructs a CreateCredentialException.

CreateCredentialException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

CreateCredentialException(String, Throwable)

Constructs a CreateCredentialException.

CreateCredentialException(String, String)

Constructs a CreateCredentialException.

CreateCredentialException(String, String, Throwable)

Constructs a CreateCredentialException.

CreateCredentialException(String)

Constructs a CreateCredentialException.

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

Parameters

type
String

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

Attributes

Remarks

Constructs a CreateCredentialException.

Java documentation for android.credentials.CreateCredentialException.CreateCredentialException(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

CreateCredentialException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

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

CreateCredentialException(String, Throwable)

Constructs a CreateCredentialException.

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

Parameters

type
String

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

cause
Throwable

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

Attributes

Remarks

Constructs a CreateCredentialException.

Java documentation for android.credentials.CreateCredentialException.CreateCredentialException(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

CreateCredentialException(String, String)

Constructs a CreateCredentialException.

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

Parameters

type
String

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

message
String

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

Attributes

Remarks

Constructs a CreateCredentialException.

Java documentation for android.credentials.CreateCredentialException.CreateCredentialException(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

CreateCredentialException(String, String, Throwable)

Constructs a CreateCredentialException.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)]
public CreateCredentialException(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.CreateCredentialException : string * string * Java.Lang.Throwable -> Android.Credentials.CreateCredentialException

Parameters

type
String

The non-empty string that identifies the credential creation 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 CreateCredentialException.

Java documentation for android.credentials.CreateCredentialException.CreateCredentialException(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