ICorProfilerCallback::ClassUnloadStarted Method

Notifies the profiler that a class is being unloaded.

Syntax

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 System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also