Delen 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: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Other Resources

Metadata Interfaces