Compartilhar via


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

Methods

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 instance in which the assembly is running.

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugAssembly2 Interface

Debugging Interfaces