Share via


GC.SuppressFinalize Method

Requests that the system not call the finalizer method for a specified object.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

[MethodImplAttribute]
public static void SuppressFinalize (
         Object obj
)

Parameters

  • obj
    The object for which a finalizer must not be called.

Remarks

The SuppressFinalize method removes the obj parameter from the set of objects that require finalization. The obj parameter must be the caller of this method.

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