IHostGCManager Interface

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


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

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 2.0

See Also

ICLRTask Interface
ICLRTaskManager Interface
IHostTask Interface
IHostTaskManager Interface
Hosting Interfaces