Mono Class Library: System.GC Overview | MembersSystem.GC.ReRegisterForFinalize Method |
Requests that the specified object be added to the list of objects that require finalization. [Edit]
|
Type Reason ArgumentNullException obj is a null reference. [Edit] ExecutionEngineException The caller of this method is not the same as the object passed to this method. [Edit]
The GC.ReRegisterForFinalize(object) method adds obj to the list of objects that request finalization before the garbage collector frees the object. obj is required to be the caller of this method.
Calling the GC.ReRegisterForFinalize(object) method does not guarantee that the garbage collector will call an object's finalizer.
Note: For more information, see object.Finalize .Note: By default, all objects that implement finalizers are added to the list of objects that require finalization; however, an object might have already been finalized, or might have disabled finalization by calling the GC.SuppressFinalize(object) method.[Edit]
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0