ICorProfilerCallback::ModuleUnloadStarted Method

Notifies the profiler that a module is being unloaded.

Syntax

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

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also