Expand Minimize

ICorProfilerCallback::ClassUnloadFinished Method

Notifies the profiler that a class has finished unloading.

HRESULT ClassUnloadFinished(
    [in] ClassID classId,
    [in] HRESULT hrStatus);


[in] Identifies the class that was unloaded.


[in] An HRESULT that indicates whether the class was unloaded successfully.

Some parts of unloading the class might continue after the ClassUnloadFinished callback. A failure HRESULT in hrStatus indicates a failure. However, a success HRESULT in hrStatus indicates only that the first part of unloading the class has succeeded.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft