Ejemplo n.º 1
0
 /// <summary>
 /// Cancels an outstanding full GC notification.
 /// </summary>
 /// <exception cref="InvalidOperationException">Raised if called
 /// with concurrent GC enabled</exception>
 public static void CancelFullGCNotification()
 {
     if (!RuntimeImports.RhCancelFullGCNotification())
     {
         throw new InvalidOperationException(SR.InvalidOperation_NotWithConcurrentGC);
     }
 }