Compartilhar via


Microsoft.VisualStudio.ExtensionManager Namespace

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

Classes

  Class Description
Public class AlreadyInstalledException Exception thrown when the extension to be installed is already present on the system.
Public class BreaksExistingExtensionsException Exception thrown when a conflict is found between the extension to install and an existing extension.
Public class CannotUninstallOrphanedComponentsException
Public class DependencyException
Public class DirectoryExistsException
Public class DownloadCompletedEventArgs
Public class DownloadProgressChangedEventArgs Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
Public class ExecuteCompletedEventArgs Arguments consumed by the ExecuteCompleted event.
Public class ExtensionManagerException Generic exception for working with extension managers and extension manager repositories.
Public class FilesInUseException
Public class Guids GUIDs used to query the extension manager service and the extension repository.
Public class IdentifierConflictException Exception thrown when the extension to be installed has the same ID as an existing extension.
Public class InconsistentNestedReferenceIdException
Public class InstallByMsiException Exception thrown when an extension must be installed by a Windows Installer (.msi) file.
Public class InstallCompletedEventArgs Event arguments consumed by the InstallCompleted event.
Public class InstallProgressChangedEventArgs Event arguments consumed by the InstallProgressChanged event.
Public class InvalidExtensionManifestException Exception thrown when a VSIX manifest is invalid.
Public class InvalidExtensionPackageException Exception thrown when a VSIX package is invalid.
Public class InvalidPerMachineOperationException
Public class MissingPackagePartException Exception thrown at installation when an expected part of a VSIX package is missing.
Public class MissingReferencesException Thrown when references that are required by the extension are not available on the system.
Public class MissingTargetFrameworkException Exception thrown when the .NET Framework version that is required by the extension is not available on the system.
Public class NestedExtensionInstallException Exception thrown when a nested extension fails to install.
Public class NotInstalledException Exception thrown when an operation is attempted on an extension that is not installed.
Public class NotPendingDeletionException Exception thrown by the RevertUninstall method when the extension to be uninstalled is still installed or has already been deleted from the system.
Public class ProxyCredentialsRequiredException Exception thrown from the IVsExtensionRepository method when a web service call requires proxy authentication.
Public class ReferenceConstraintException
Public class RequiresAdminRightsException
Public class SystemComponentException Thrown when an attempt is made to install an extension that is a system component.
Public class UnsupportedProductException
Public class VersionRange
Public class VSEdition List of supported editions of Visual Studio that may be targeted by an extension.

Interfaces

  Interface Description
Public interface IExtension Contains the metadata from a VSIX manifest.
Public interface IExtensionContent Represents all of the metadata that is contained in the Content element of a VSIX manifest.
Public interface IExtensionHeader Represents all of the metadata that is contained in the Identifier element of a VSIX manifest.
Public interface IExtensionReference Represents the metadata that is contained in a Reference element in the References element of a VSIX manifest.
Public interface IExtensionRequirement
Public interface IInstallableExtension Contains path and signature information for a VSIX package. The information may be used for installing an extension.
Public interface IInstalledExtension Provides access to the root Install directory of an installed extension.
Public interface IRepositoryCategory Represents a category of available extensions.
Public interface IRepositoryEntry Interface for extensions to be downloaded from an IVsExtensionRepository interface.
Public interface IRepositoryMetadataSerializer
Public interface IVsExtensionManager Used to search for extensions to install and to manage installed extensions.
Public interface IVsExtensionManagerDialogProvider
Public interface IVsExtensionRepository Used to communicate with an online repository of extensions
Public interface IVsExtensionRepositoryQuery<T> Used to populate the list of available extensions in an extension manager.
Public interface SVsExtensionManager Used when GetService calls are made to access specific extension manager versions and implementations.
Public interface SVsExtensionRepository Used in GetService calls to access specific Extension Manager repository service versions and implementations.
Public interface SVsSamplesRepository

Enumerations

  Enumeration Description
Public enumeration EnabledState The enabled status of the current extension.
Public enumeration ExtensionDigitalSignatureState Specifies whether an extension has a valid certificate and a valid signature.
Public enumeration InstallState Contains values to indicate whether an extension is installed or uninstalled.
Public enumeration RestartReason List of reasons for which the Extension Manager may require a restart.