Provides methods that allow a host to interact with the common language runtime's garbage collection system.
Starting with the .NET Framework 4.5, you can use the ICLRGCManager2::SetGCStartupLimitsEx method to set the size of a garbage collection segment and the maximum size of the garbage collection system's generation 0 to values greater than the DWORD limit that is imposed by the SetGCStartupLimits method.
Forces a garbage collection for the specified generation.
Gets a set of current statistics about the garbage collection system.
Sets the size of a garbage collection segment and the maximum size of the garbage collection system's generation 0.
Platforms: See .NET Framework System Requirements.
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 2.0