共用方式為


ICorDebugAssembly

更新:2007 年 11 月

表示組件。

interface ICorDebugAssembly : IUnknown {
    HRESULT EnumerateModules (
        [out] ICorDebugModuleEnum **ppModules
    );
        
    HRESULT GetAppDomain (
        [out] ICorDebugAppDomain  **ppAppDomain
    );
        
    HRESULT GetCodeBase (
        [in] ULONG32  cchName,
        [out] ULONG32 *pcchName,
        [out, size_is(cchName), length_is(*pcchName)] 
            WCHAR szName[]
    );
        
    HRESULT GetName (
        [in] ULONG32  cchName,
        [out] ULONG32 *pcchName,
        [out, size_is(cchName), length_is(*pcchName)]
            WCHAR szName[]
    );
        
    HRESULT GetProcess (
        [out] ICorDebugProcess **ppProcess
    );
};

方法

方法

描述

ICorDebugAssembly::EnumerateModules 方法

取得組件中所包含之模組的列舉值。

ICorDebugAssembly::GetAppDomain 方法

取得介面指標,指向包含此 ICorDebugAssembly 執行個體的應用程式定義域。

ICorDebugAssembly::GetCodeBase 方法

未在目前的 .NET Framework 版本中實作。

ICorDebugAssembly::GetName 方法

取得組件的名稱。

ICorDebugAssembly::GetProcess 方法

取得組件執行所在的 ICorDebugProcess 執行個體。

需求

**平台:**請參閱 .NET Framework 系統需求

**標頭:**CorDebug.idl

**程式庫:**CorGuids.lib

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

請參閱

參考

ICorDebugAssembly2

其他資源

偵錯介面