Share via


IAssemblyCache Interface

Represents the global assembly cache for use by the fusion technology.

interface IAssemblyCache : IUnknown {
    HRESULT CreateAssemblyCacheItem (
        [in]  DWORD dwFlags,
        [in]  PVOID pvReserved,
        [out] IAssemblyCacheItem **ppAsmItem,
        [in, optional] LPCWSTR pszAssemblyName
    );
    
    HRESULT CreateAssemblyScavenger (
        [out] IUnknown **ppUnkReserved
    );
    
    HRESULT InstallAssembly (
        [in] DWORD dwFlags,
        [in] LPCWSTR pszManifestFilePath,
        [in] LPCFUSION_INSTALL_REFERENCE pRefData
    );
    
    HRESULT QueryAssemblyInfo (
        [in] DWORD dwFlags,
        [in] LPCWSTR pszAssemblyName,
        [in, out] ASSEMBLY_INFO *pAsmInfo
    );
    
    HRESULT UninstallAssembly (
        [in] DWORD dwFlags,
        [in] LPCWSTR pszAssemblyName,
        [in] LPCFUSION_INSTALL_REFERENCE pRefData,
        [out, optional] ULONG *pulDisposition
    );
};

Methods

Method

Description

IAssemblyCache::CreateAssemblyCacheItem Method

Gets a reference to a new IAssemblyCacheItem.

IAssemblyCache::CreateAssemblyScavenger Method

Reserved for internal use by the fusion technology.

IAssemblyCache::InstallAssembly Method

Installs the specified assembly in the global assembly cache.

IAssemblyCache::QueryAssemblyInfo Method

Gets the requested data about the specified assembly.

IAssemblyCache::UninstallAssembly Method

Uninstalls the specified assembly from the global assembly cache.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Fusion.h

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

See Also

Concepts

Global Assembly Cache

Other Resources

Fusion Interfaces