Редактиране

Споделяне чрез


ICLRGCManager2 Interface

Provides methods that allow a host to interact with the common language runtime's garbage collection system.

Methods

Method Description
SetGCStartupLimitsEx Method Sets the size of a garbage collection segment and the maximum size of the garbage collection system's generation 0. Enables generation 0 and segment sizes larger than DWORD.

Remarks

This interface inherits from the ICLRGCManager Interface.

The common language runtime (CLR) implements its garbage collection mechanism with the managed GC type. For more information about the garbage collection system, see Garbage Collection.

Requirements

Platforms: See System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 4.5

See also