IDestroyable.Destroy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Destroy this Object
.
[Android.Runtime.Register("destroy", "()V", "GetDestroyHandler:Javax.Security.Auth.IDestroyableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Destroy ();
[<Android.Runtime.Register("destroy", "()V", "GetDestroyHandler:Javax.Security.Auth.IDestroyableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Destroy : unit -> unit
- Attributes
Exceptions
if the information cannot be erased.
Remarks
Destroy this Object
.
Sensitive information associated with this Object
is destroyed or cleared. Subsequent calls to certain methods on this Object
will result in an IllegalStateException
being thrown.
The default implementation throws DestroyFailedException
.
Android note: Up to and including API 25 this method did not have a default implementation. Implementations of this interface must provide a concrete implementation of this method in order to work on older versions of Android.
Java documentation for javax.security.auth.Destroyable.destroy()
.
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.