ICorProfilerCallback::ClassUnloadStarted Method

Notifies the profiler that a class is being unloaded.

HRESULT ClassUnloadStarted(
    [in] ClassID classId);


  • classId
    [in] Identifies the class that is being unloaded.


The value of classId is not valid for an information request after the ClassUnloadStarted method returns — this is the profiler's last chance to obtain information about this class.


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


ICorProfilerCallback Interface

ICorProfilerCallback::ClassUnloadFinished Method