ReaderWriterLock.Finalize 方法

定義

確認釋出資源,並在記憶體回收行程回收 ReaderWriterLock 物件時執行其他清除作業。Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the ReaderWriterLock object.

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

備註

當目前的 ReaderWriterLock 物件準備好要完成時,垃圾收集行程就會呼叫 FinalizeThe garbage collector calls Finalize when the current ReaderWriterLock object is ready to be finalized.

適用於