IHostGCManager Interface


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



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.

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 2.0