GC.ReRegisterForFinalize Method
Requests that the system call the finalizer method for a specified object, after the SuppressFinalize method has been called for this object.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
[MethodImplAttribute]
public static void ReRegisterForFinalize (
Object obj
)
Parameters
- obj
The object for which a finalizer must be called.
Remarks
The ReRegisterForFinalize method adds the obj parameter to the list of objects that request finalization before the garbage collector frees the specified object. The obj parameter must be the caller of this method.
Calling the ReRegisterForFinalize method does not guarantee that the garbage collector will call an object's finalizer.
Version Information
Available in .NET Micro Framework version 2.0, 2.5