WaitHandle.Finalize WaitHandle.Finalize WaitHandle.Finalize WaitHandle.Finalize Method

定義

將目前執行個體所持有的資源釋出。Releases the resources held by the current instance.

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

備註

注意

這個成員已經移除了.NET Framework 2.0 版與後續版本。This member has been removed from the .NET Framework version 2.0 and subsequent versions. 本主題只適用於本主題稍後的 「 版本資訊 」 中所列的版本。This topic applies only to the versions listed in "Version Information" later in this topic.

應用程式程式碼不會呼叫這個方法。它會自動叫用記憶體回收期間,除非已停用記憶體回收行程的最終處理。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().

適用於