Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.6 RC, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

© 2015 Microsoft