Udostępnij za pośrednictwem


IGCHost::SetGCStartupLimits Method

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

HRESULT SetGCStartupLimits (
    [in] DWORD SegmentSize,
    [in] DWORD 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 SetGCStartupLimits method may be called only once. These values cannot be changed later.

Requirements

Platforms: See .NET Framework System Requirements.

Header: GCHost.idl, GCHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

IGCHost Interface