Expand Minimize
This topic has not yet been rated - Rate this topic

ICorProfilerCallback::ModuleUnloadFinished Method

Notifies the profiler that a module has finished unloading.

HRESULT ModuleUnloadFinished(
    [in] ModuleID moduleId,
    [in] HRESULT  hrStatus);
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 returns.

Some parts of unloading 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 unloading the module has succeeded.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.