Principal.Delete 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.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.