Share via


ICorProfilerCallback::ModuleUnloadStarted Method

Notifies the profiler that a module is being unloaded.

HRESULT ModuleUnloadStarted(
    [in] ModuleID moduleId); 

Parameters

  • moduleId
    [in] The ID of the module that is being unloaded.

Remarks

The value of moduleId is not valid for an information request after the ModuleUnloadStarted method returns — this is the profiler's last chance to get information about this module.

Requirements

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

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICorProfilerCallback Interface

ICorProfilerCallback::ModuleUnloadFinished Method