Muokkaa

Jaa


ICorDebugModule2::ResolveAssembly Method

Resolves the assembly referenced by the specified metadata token.

Syntax

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

Parameters

tkAssemblyRef
[in] An mdToken value that references the assembly.

ppAssembly
[out] A pointer to the address of an ICorDebugAssembly 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: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0