Share via


ICorDebugManagedCallback::UnloadAssembly Method

Notifies the debugger that a common language runtime assembly has been unloaded.

HRESULT UnloadAssembly (
    [in] IcorDebugAppDomain  *pAppDomain,
    [in] ICorDebugAssembly   *pAssembly
);

Parameters

  • pAppDomain
    [in] A pointer to an ICorDebugAppDomain object that represents the application domain that contained the assembly.

  • pAssembly
    [in] A pointer to an ICorDebugAssembly object that represents the assembly.

Remarks

The assembly should not be used after this callback.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

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

See Also

Reference

ICorDebugManagedCallback::LoadAssembly Method

ICorDebugManagedCallback Interface