This documentation is archived and is not being maintained.

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: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0