Bewerken

Share via


Principal.CheckDisposedOrDeleted Method

Definition

Determines whether the Dispose() or Delete() methods have been called on this class. This method is called by classes that derive from this principal class.

protected:
 void CheckDisposedOrDeleted();
protected void CheckDisposedOrDeleted ();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected void CheckDisposedOrDeleted ();
member this.CheckDisposedOrDeleted : unit -> unit
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
member this.CheckDisposedOrDeleted : unit -> unit
Protected Sub CheckDisposedOrDeleted ()
Attributes

Exceptions

The Dispose() method has been called on this principal object.

The Delete() method has been called on this principal object.

Remarks

This method checks whether the object has been disposed before it determines whether it has been deleted.

Applies to