ICorDebugModule2::ResolveAssembly Method

Resolves the assembly referenced by the specified metadata token.

HRESULT ResolveAssembly (
    [in] mdToken                     tkAssemblyRef,
    [out] ICorDebugAssembly           **ppAssembly
);

Parameters

Parameter Description

tkAsemblyRef

[in] An mdToken value that references the assembly.

ppAssembly

[out] A pointer to the address of an ICorDebugAssembly Interface object that represents the assembly.

Remarks

If the assembly is not already loaded when ResolveAssembly is called, an HRESULT value of CORDBG_E_CANNOT_RESOLVE_ASSEMBLY is returned.

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugModule2 Interface
ICorDebugModule Interface