ResolveAssembly Method

ICorDebugModule2::ResolveAssembly Method


Resolves the assembly referenced by the specified metadata token.

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


[in] An mdToken value that references the assembly.


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

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


Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4.6, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

© 2015 Microsoft