예제 #1
0
파일: gc.cs 프로젝트: wwkkww1983/ZJCredit
 public static GCNotificationStatus WaitForFullGCComplete(int millisecondsTimeout)
 {
     if (millisecondsTimeout < -1)
     {
         throw new ArgumentOutOfRangeException("millisecondsTimeout", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1"));
     }
     return((GCNotificationStatus)GC._WaitForFullGCComplete(millisecondsTimeout));
 }
예제 #2
0
파일: gc.cs 프로젝트: wwkkww1983/ZJCredit
 public static GCNotificationStatus WaitForFullGCComplete()
 {
     return((GCNotificationStatus)GC._WaitForFullGCComplete(-1));
 }