Поделиться через


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 Interface.

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: Fusion.h

.NET Framework Version: 2.0

See Also

Concepts

Global Assembly Cache

Other Resources

Fusion Interfaces