共用方式為


ICorDebugManagedCallback::UnloadAssembly 方法

通知偵錯工具已卸載 Common Language 執行階段元件。

語法

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

參數

pAppDomain [在]ICorDebugAppDomain 物件的指標,代表包含元件之應用程式網域。

pAssembly [在]代表元件之 ICorDebugAssembly 物件的指標。

備註

不應在此回呼之後使用元件。

需求

平台: 請參閱 .NET 支援的作業系統

標題: CorDebug.idl、CorDebug.h

圖書館: CorGuids.lib

.NET 版本: 自 .NET Framework 1.0 起提供

另請參閱