次の方法で共有


IHostGCManager Interface

Provides methods that notify the host of events in the garbage collection mechanism implemented by the common language runtime (CLR).

interface IHostGCManager : IUnknown {
    HRESULT SuspensionEnding (
        DWORD generation
    );
    HRESULT SuspensionStarting ();
    HRESULT ThreadIsBlockingForSuspension ();
};

Members

Member

Description

IHostGCManager::SuspensionEnding Method

Notifies the host that the CLR is resuming execution of tasks on threads that had been suspended for a garbage collection.

IHostGCManager::SuspensionStarting Method

Notifies the host that the CLR is suspending execution of tasks, to perform a garbage collection.

IHostGCManager::ThreadIsBlockingForSuspension Method

Notifies the host that the thread from which the method call was made is about to block 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

ICLRTask Interface

ICLRTaskManager Interface

IHostTask Interface

IHostTaskManager Interface

Hosting Interfaces