System.GC.CancelFullGCNotification Method

Cancels the registration of a garbage collection notification.

Syntax

public static void CancelFullGCNotification ()

Remarks

This method cancels a garbage collection notification that was registered by using the GC.RegisterForFullGCNotification(int, int) method. You do not have to call this method before adjusting threshold parameter values in subsequent calls to the GC.RegisterForFullGCNotification(int, int) method.

Requirements

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