Partilhar via


IGCHostControl Interface

Provides a method that allows the garbage collector to request the host to change the limits of virtual memory.

interface IGCHostControl : IUnknown {

    HRESULT RequestVirtualMemLimit(
        [in] SIZE_T sztMaxVirtualMemMB,
        [in, out] SIZE_T* psztNewMaxVirtualMemMB
    );
}

Methods

Method

Description

IGCHostControl::RequestVirtualMemLimit Method

Requests 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

Hosting Interfaces