Partilhar via


ICorConfiguration::SetGCHostControl Method

Sets the callback interface to be used by the garbage collector to request the host to change the limits of virtual memory.

HRESULT SetGCHostControl (
        [in] IGCHostControl* pGCHostControl
);

Parameters

  • pGCHostControl
    [in] A pointer to an IGCHostControl object that allows the garbage collector to request the host to change the limits of virtual memory.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

ICorConfiguration Interface