This documentation is archived and is not being maintained.

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

Library: CorGuids.lib

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

Show: