ICorDebugManagedCallback::UnloadAssembly 方法

通知调试器已经卸载了公共语言运行时程序集。

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

参数

  • pAppDomain
    [in] 一个指向 ICorDebugAppDomain 对象的指针,该对象表示包含程序集的应用程序域。

  • pAssembly
    [in] 一个指向表示程序集的 ICorDebugAssembly 对象的指针。

备注

此回调后,就不应该使用该程序集。

要求

**平台:**请参见 .NET Framework 系统要求

头文件: CorDebug.idl、CorDebug.h

**库:**CorGuids.lib

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

请参见

参考

ICorDebugManagedCallback::LoadAssembly 方法

ICorDebugManagedCallback 接口