WindowsIdentity.Finalize Method
Frees resources before the WindowsIdentity is reclaimed by the Garbage Collector.
[C#] In C#, finalizers are expressed using destructor syntax.
[C++] In C++, finalizers are expressed using destructor syntax.
[Visual Basic] Overrides Protected Sub Finalize() [C#] ~WindowsIdentity(); [C++] ~WindowsIdentity(); [JScript] protected override function Finalize();
Remarks
This method overrides Object.Finalize. Application code should not call this method; an object's Finalize method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to the GC.SuppressFinalize method.
For more information about Object.Finalize and Dispose, see Finalize Methods and Destructors, Cleaning Up Unmanaged Resources and Overriding the Finalize Method.
Requirements
Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
WindowsIdentity Class | WindowsIdentity Members | System.Security.Principal Namespace