Modifica

Condividi tramite


Principal.Delete Method

Definition

Deletes the principal object from the store.

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

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