WindowsImpersonationContext.Finalize Method


Releases the resources held by the current instance.

!WindowsImpersonationContext ()
~WindowsImpersonationContext ();
override this.Finalize : unit -> unit
Finalize ()



This member is removed in the .NET Framework version 2.0 and subsequent versions.

Application code does not call this method; it is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled. For more information, see GC.SuppressFinalize and Finalize(). This method overrides Finalize().

Applies to