Пример #1
0
 public static GCNotificationStatus WaitForFullGCComplete(int millisecondsTimeout)
 {
     if (millisecondsTimeout < -1)
     {
         throw new ArgumentOutOfRangeException("millisecondsTimeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1"));
     }
     return((GCNotificationStatus)GC._WaitForFullGCComplete(millisecondsTimeout));
 }
Пример #2
0
 public static GCNotificationStatus WaitForFullGCComplete()
 {
     return((GCNotificationStatus)GC._WaitForFullGCComplete(-1));
 }