Sets the segment size and the maximum size for generation 0.
HRESULT SetGCStartupLimitsEx ( [in] SIZE_T SegmentSize, [in] SIZE_T MaxGen0Size );
[in] The size of the segment used by the garbage collection system.
[in] The maximum size for generation 0.
The values that
SetGCStartupLimitsEx sets can be specified only before the host is started. These values cannot be changed later.
Platforms: See System Requirements.
Header: GCHost.idl, GCHost.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 4.5