Principal.Delete Principal.Delete Principal.Delete Principal.Delete Method

Definition

Deletes the principal object from the store.

public:
 void Delete();
[System.Security.SecurityCritical]
public void Delete ();
member this.Delete : unit -> unit
Public Sub Delete ()

Exceptions

The object that is not persisted in the store.

The object has already been deleted.

The target context type must match the context type of the current principal.

Applies to