Language

SecureKeyImportUnavailableException Constructors

Definition

Overloads

Name Description
SecureKeyImportUnavailableException()

Creates an exception without a detail message or cause.

SecureKeyImportUnavailableException(Throwable)

Creates an exception with a cause.

SecureKeyImportUnavailableException(String)

Creates an exception with a detail message.

SecureKeyImportUnavailableException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

SecureKeyImportUnavailableException(String, Throwable)

Creates an exception with a detail message and cause.

SecureKeyImportUnavailableException()

Creates an exception without a detail message or cause.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=28)]
public SecureKeyImportUnavailableException();
Attributes

Remarks

The exception starts with no detail message and no cause.

Applies to

SecureKeyImportUnavailableException(Throwable)

Creates an exception with a cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=28)]
public SecureKeyImportUnavailableException(Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=28)>]
new Android.Security.Keystore.SecureKeyImportUnavailableException : Java.Lang.Throwable -> Android.Security.Keystore.SecureKeyImportUnavailableException

Parameters

cause
Throwable

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

Attributes

Remarks

The detail message is derived from the cause's string representation, or is null when the cause is null.

Applies to

SecureKeyImportUnavailableException(String)

Creates an exception with a detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=28)]
public SecureKeyImportUnavailableException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=28)>]
new Android.Security.Keystore.SecureKeyImportUnavailableException : string -> Android.Security.Keystore.SecureKeyImportUnavailableException

Parameters

message
String

The detail message stored in the exception.

Attributes

Remarks

The cause is a KeyStoreException that reports unavailable security hardware.

Applies to

SecureKeyImportUnavailableException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected SecureKeyImportUnavailableException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Security.Keystore.SecureKeyImportUnavailableException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Security.Keystore.SecureKeyImportUnavailableException

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

SecureKeyImportUnavailableException(String, Throwable)

Creates an exception with a detail message and cause.

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

Parameters

message
String

The detail message stored in the exception.

cause
Throwable

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

Attributes

Remarks

The supplied message is stored independently of the cause's message.

Applies to