Partager via


INativeImageDependency Interface

Provides methods to synchronize the dependencies of managed assemblies with their native counterparts.

interface INativeImageDependency : IUnknown {
        
    HRESULT GetILAssemblyDef (
                [out] mdAssemblyRef                   *ppAssemblyDef,
                [out] CORCOMPILE_ASSEMBLY_SIGNATURE   *pSign
    );
        
    HRESULT GetILAssemblyRef (
                [out] mdAssemblyRef                   *pAssemblyRef
    );
        
    HRESULT GetNativeAssemblyDef (
                [out] CORCOMPILE_NGEN_SIGNATURE       *pNativeSign
    ); 
        
};

Methods

Method

Description

INativeImageDependency::GetILAssemblyDef Method

Gets the mdAssemblyDef token for the managed assembly that is referenced by the dependency in the current metadata scope, after policy has been applied.

INativeImageDependency::GetILAssemblyRef Method

Gets the mdAssemblyRef token for the assembly that is referenced by the dependency in the current metadata scope.

INativeImageDependency::GetNativeAssemblyDef Method

Gets the native image that corresponds to the managed assembly in the current metadata scope.

Requirements

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

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

Metadata Interfaces