IGCThreadControl::ThreadIsBlockingForSuspension Method

Notifies the host that the thread that is making the call is about to block, perhaps for a garbage collection or other suspension.

Syntax

HRESULT ThreadIsBlockingForSuspension ( );  

Remarks

The host may choose within the ThreadIsBlockingForSuspension callback whether to reschedule a thread.

Requirements

Platforms: See System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 2.0

See also