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

See Also

Reference

ICorProfilerCallback Interface

ICorProfilerCallback::ModuleUnloadFinished Method