The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ICorProfilerCallback::ModuleUnloadFinished Method
.NET Framework 2.0
Notifies the profiler that a module has finished unloading.
HRESULT ModuleUnloadFinished(
[in] ModuleID moduleId,
[in] HRESULT hrStatus);
Parameters
| Parameter | Description |
|---|---|
|
moduleId |
[in] The ID of the module that was unloaded. |
|
hrStatus |
[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.