CompressedStack.Finalize 方法

定义

释放由当前实例所持有的资源。Releases the resources held by the current instance.

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

注解

备注

在 .NET Framework 版本2.0 和后续版本中将删除此成员。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. 有关详细信息,请参阅 GC.SuppressFinalizeFinalize()For more information, see GC.SuppressFinalize and Finalize(). 此方法重写 Finalize()This method overrides Finalize().

适用于