Suspends the current thread until the thread that is processing the queue of finalizers has emptied that queue.
Assembly: mscorlib (in mscorlib.dll)
When the garbage collector finds objects that can be reclaimed, it checks each object to determine the object's finalization requirements. If an object implements a finalizer and has not disabled finalization by calling SuppressFinalize, the object is placed in a list of objects that are marked as ready for finalization. The garbage collector calls the Finalize methods for the objects in this list and removes the entries from the list. This method blocks until all finalizers have run to completion.
The thread on which finalizers are run is unspecified, so there is no guarantee that this method will terminate. However, this thread can be interrupted by another thread while the method is in progress. For example, you can start another thread that waits for a period of time and then interrupts this thread if this thread is still suspended.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.