Share via


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 the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

GC Class
GC Members
System Namespace