Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ICorProfilerCallback::ModuleUnloadFinished Method

Notifies the profiler that a module has finished unloading.

HRESULT ModuleUnloadFinished(
    [in] ModuleID moduleId,
    [in] HRESULT  hrStatus);


Parameter Description


[in] The ID of the module that was unloaded.


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

The value of moduleId is not valid for an information request after the ICorProfilerCallback::ModuleUnloadStarted Method method returns.

Some parts of loading the class might continue after the ModuleUnloadFinished callback. A failure HRESULT in hrStatus indicates a failure. However, a success HRESULT in hrStatus indicates only that the first part of loading the module has succeeded.

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

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

Community Additions

© 2015 Microsoft