Share via


ICorProfilerCallback::RuntimeSuspendFinished Method

Notifies the profiler that the runtime has completed suspension of all runtime threads.

HRESULT RuntimeSuspendFinished();

Remarks

All runtime threads that are in unmanaged code are allowed to continue running until they try to re-enter the runtime. At that point they will also be suspended until the runtime resumes. This also applies to new threads that enter the runtime. All threads in the runtime are either suspended immediately if they are already in interruptible code, or they are asked to suspend when they reach interruptible code.

The RuntimeSuspendFinished callback is guaranteed to occur on the same thread as the ICorProfilerCallback::RuntimeSuspendStarted callback.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorProfilerCallback Interface

ICorProfilerCallback::RuntimeSuspendAborted Method