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 |
---|---|
Notifies the host that the CLR is resuming execution of tasks on threads that had been suspended for a garbage collection. |
|
Notifies the host that the CLR is suspending execution of tasks, to perform a garbage collection. |
|
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