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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.