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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.