Compartilhar via


ICorConfiguration Interface

Provides methods for configuring the common language runtime (CLR).

interface ICorConfiguration : IUnknown {

    HRESULT SetGCThreadControl(
        [in] IGCThreadControl* pGCThreadControl
    );
    HRESULT SetGCHostControl(
        [in] IGCHostControl* pGCHostControl
    );
    HRESULT SetDebuggerThreadControl(
        [in] IDebuggerThreadControl* pDebuggerThreadControl
    );
    HRESULT AddDebuggerSpecialThread(
        [in] DWORD dwSpecialThreadId
    );
}

Methods

Method

Description

ICorConfiguration::AddDebuggerSpecialThread Method

Indicates to the debugging services that a particular thread should be allowed to continue executing while the debugger has an application stopped during managed or unmanaged debugging scenarios.

ICorConfiguration::SetDebuggerThreadControl Method

Sets the callback interface that the debugging services will call as CLR threads are blocked and unblocked for debugging.

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.

ICorConfiguration::SetGCThreadControl Method

Sets the callback interface for scheduling threads for non-runtime tasks that would otherwise be blocked for a garbage collection.

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