ICorProfilerCallback::AssemblyUnloadStarted Method

Notifies the profiler that an assembly is being unloaded.

Syntax

HRESULT AssemblyUnloadStarted(  
    [in] AssemblyID assemblyId);  

Parameters

assemblyId
[in] Identifies the assembly that is being unloaded.

Remarks

The value of assemblyId is not valid for an information request after the AssemblyUnloadStarted method returns — this is the profiler's last chance to get information about this assembly.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See Also

ICorProfilerCallback Interface
AssemblyUnloadFinished Method