Ejemplo n.º 1
0
 public static GCNotificationStatus WaitForFullGCApproach(int millisecondsTimeout)
 {
     if (millisecondsTimeout < -1)
     {
         throw new ArgumentOutOfRangeException("millisecondsTimeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1"));
     }
     return((GCNotificationStatus)GC._WaitForFullGCApproach(millisecondsTimeout));
 }
Ejemplo n.º 2
0
 public static GCNotificationStatus WaitForFullGCApproach()
 {
     return((GCNotificationStatus)GC._WaitForFullGCApproach(-1));
 }