次の方法で共有


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

その他の技術情報

デバッグのインターフェイス