Share via


ICorProfilerCallback::ClassUnloadStarted Method

Notifies the profiler that a class is being unloaded.

HRESULT ClassUnloadStarted(
    [in] ClassID classId);

Parameters

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

Remarks

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.

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::ClassUnloadFinished Method