Partager via


KeyStoreException.IsTransientFailure Property

Definition

Returns true if the failure is a transient failure - that is, performing the same operation again at a late time is likely to succeed.

public virtual bool IsTransientFailure { [Android.Runtime.Register("isTransientFailure", "()Z", "GetIsTransientFailureHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("isTransientFailure", "()Z", "GetIsTransientFailureHandler", ApiSince=33)>]
member this.IsTransientFailure : bool

Property Value

Attributes

Remarks

Returns true if the failure is a transient failure - that is, performing the same operation again at a late time is likely to succeed.

If #isSystemError() returns true, the transient nature of the failure relates to the device, otherwise relates to the key (so a permanent failure with an existing key likely requires creating another key to repeat the operation with).

Java documentation for android.security.KeyStoreException.isTransientFailure().

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