IGCHost2 Interface

.NET Framework (current version)
 

Provides methods for obtaining information about the garbage collection system and for controlling some aspects of garbage collection.

System_CAPS_noteNote

For new development, we recommend that you use the ICLRGCManager2 interface instead.

Method

Description

IGCHost2::SetGCStartupLimitsEx Method

Sets the segment size and the maximum size for generation 0. Enables generation 0 and segment sizes larger than DWORD.

Platforms: See .NET Framework System Requirements.

Header: GCHost.idl, GCHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 4.5

Show: