IGCHost2::SetGCStartupLimitsEx Method

Sets the segment size and the maximum size for generation 0.

Syntax

HRESULT SetGCStartupLimitsEx (  
    [in] SIZE_T SegmentSize,  
    [in] SIZE_T MaxGen0Size  
);  

Parameters

SegmentSize
[in] The size of the segment used by the garbage collection system.

MaxGen0Size
[in] The maximum size for generation 0.

Remarks

The values that SetGCStartupLimitsEx sets can be specified only before the host is started. These values cannot be changed later.

Requirements

Platforms: See System Requirements.

Header: GCHost.idl, GCHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 4.5

See also