ICorProfilerCallback9::DynamicMethodUnloaded Method

[Supported in the .NET Framework 4.7.2 and later versions]

Notifies the profiler whenever a dynamic method is garbage collected and subsequently unloaded.

Syntax

HRESULT DynamicMethodUnloaded(  
     [in]  FunctionID  functionId
);  

Parameters

functionId
[in] The identifier of the in-memory function that has been garbage collected and unloaded.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.7.2

See also