Språk

StrongBoxUnavailableException Constructors

Definition

Overloads

Name Description
StrongBoxUnavailableException()

Creates an exception without a detail message or cause.

StrongBoxUnavailableException(Throwable)

Creates an exception with a cause.

StrongBoxUnavailableException(String)

Creates an exception with a detail message.

StrongBoxUnavailableException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

StrongBoxUnavailableException(String, Throwable)

Creates an exception with a detail message and cause.

StrongBoxUnavailableException()

Creates an exception without a detail message or cause.

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

Remarks

The exception starts with no detail message and no cause.

Applies to

StrongBoxUnavailableException(Throwable)

Creates an exception with a cause.

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

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

StrongBoxUnavailableException(String)

Creates an exception with a detail message.

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

Parameters

message
String

The detail message stored in the exception.

Attributes

Remarks

The cause is a KeyStoreException that reports unavailable security hardware.

Applies to

StrongBoxUnavailableException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

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

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

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