Dela via


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.

HRESULT ThreadIsBlockingForSuspension ( );

Remarks

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

Requirements

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

See Also

Reference

IGCThreadControl Interface