This documentation is archived and is not being maintained.

ICorDebugAssembly Interface

Represents an assembly.


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
    );
};

Method Description

ICorDebugAssembly::EnumerateModules Method

Gets an enumerator for the modules contained in the assembly.

ICorDebugAssembly::GetAppDomain Method

Gets an interface pointer to the application domain that contains this ICorDebugAssembly instance.

ICorDebugAssembly::GetCodeBase Method

Not implemented in the current version of the .NET Framework.

ICorDebugAssembly::GetName Method

Gets the name of the assembly.

ICorDebugAssembly::GetProcess Method

Gets the ICorDebugProcess Interface instance in which the assembly is running.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

Show: