ICorProfilerCallback::ClassUnloadFinished Method

Notifies the profiler that a class has finished unloading.

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

Parameters

Parameter Description

classId

[in] Identifies the class that was unloaded.

hrStatus

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

Remarks

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.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorProfilerCallback Interface