다음을 통해 공유


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 (
         Objectobj
)

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, and 4.1.

See Also

Reference

GC Class
GC Members
System Namespace