Freigeben über


IAssemblyCache::UninstallAssembly Method

Uninstalls the specified assembly from the global assembly cache.

HRESULT UninstallAssembly (
    [in] DWORD dwFlags,
    [in] LPCWSTR pszAssemblyName,
    [in] LPCFUSION_INSTALL_REFERENCE pRefData,
    [out, optional] ULONG *pulDisposition
);

Parameters

  • dwFlags
    [in] Flags defined in Fusion.idl.
  • pszAssemblyName
    [in] The name of the assembly to uninstall.
  • pulDisposition
    [out, optional] One of the disposition values defined in Fusion.idl. Possible values include the following:

    • IASSEMBLYCACHE_UNINSTALL_DISPOSITION_UNINSTALLED (1)

    • IASSEMBLYCACHE_UNINSTALL_DISPOSITION_STILL_IN_USE (2)

    • IASSEMBLYCACHE_UNINSTALL_DISPOSITION_ALREADY_UNINSTALLED (3)

    • IASSEMBLYCACHE_UNINSTALL_DISPOSITION_DELETE_PENDING (4)

    • IASSEMBLYCACHE_UNINSTALL_DISPOSITION_HAS_INSTALL_REFERENCES (5)

    • IASSEMBLYCACHE_UNINSTALL_DISPOSITION_REFERENCE_NOT_FOUND (6)

Requirements

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

Header: Fusion.h

.NET Framework Version: 2.0

See Also

Reference

IAssemblyCache Interface