Share via


ICorProfilerCallback::ModuleLoadFinished Method

Notifies the profiler that a module has finished loading.

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

Parameters

  • moduleId
    [in] The ID of the module that has finished loading.

  • hrStatus
    [in] An HRESULT that indicates whether the module was loaded successfully.

Remarks

The value of moduleId is not valid for an information request until the ModuleLoadFinished method is called.

Some parts of loading the module might continue after the ModuleLoadFinished 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.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorProfilerCallback Interface

ICorProfilerCallback::ModuleLoadStarted Method