Key. Delete Method
Removes the key that is associated with the object.
public: void Delete();
[System.Security.SecurityCritical] public void Delete ();
member this.Delete : unit -> unit
Public Sub Delete ()
An attempt was made to access a deleted key.
All other errors.
- When you call the Delete method on an ephemeral key, it closes the handle to the key.