Share via


ICorProfilerCallback::AssemblyUnloadStarted Method

Notifies the profiler that an assembly is being unloaded.

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 .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::AssemblyUnloadFinished Method