ICorProfilerCallback7::ModuleInMemorySymbolsUpdated Method
[Supported in the .NET Framework 4.6.1 and later versions]
Notifies the profiler whenever the symbol stream associated with an in-memory module is updated.
Syntax
HRESULT ModuleInMemorySymbolsUpdated(
ModuleID moduleId
);
Parameters
moduleId
[in] The identifier of the in-memory module whose symbol stream is updated.
Remarks
This callback is controlled by setting the COR_PRF_HIGH_IN_MEMORY_SYMBOLS_UPDATED event mask flag when calling the ICorProfilerCallback5::SetEventMask2 method.
Note
This event is not currently raised for symbols implicitly created or modified via System.Reflection.Emit APIs.
Even when symbols are provided up front in a call to one of the overloads of the managed Assembly.Load methods that includes a rawSymbolStore
argument to specify the symbols for the assembly, the runtime may not actually associate the symbolic data with the module until after the ModuleLoadFinished callback has occurred. This event provides a later opportunity to collect symbols for such modules.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.6.1