Compartilhar via


IVsExtensionRepository Interface

Used to communicate with an online repository of extensions

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Syntax

'Declaração
<ComVisibleAttribute(True)> _
Public Interface IVsExtensionRepository
[ComVisibleAttribute(true)]
public interface IVsExtensionRepository
[ComVisibleAttribute(true)]
public interface class IVsExtensionRepository
[<ComVisibleAttribute(true)>]
type IVsExtensionRepository =  interface end
public interface IVsExtensionRepository

The IVsExtensionRepository type exposes the following members.

Methods

  Name Description
Public method CreateQuery<T>() Creates a query to populate the list of available extensions.
Public method CreateQuery<T>(Boolean)
Public method CreateQuery<T>(Boolean, Boolean)
Public method CreateQuery<T>(Boolean, Boolean, Boolean)
Public method CreateQuery<T>(Boolean, Boolean, CultureInfo)
Public method CreateQuery<T>(Boolean, Boolean, String)
Public method CreateQuery<T>(Boolean, Boolean, Boolean, CultureInfo)
Public method Download Downloads an extension.
Public method DownloadAsync Begins an asynchronous download operation.
Public method DownloadAsyncCancel Cancels an asynchronous download operation.
Public method GetCategoryTree(String, Guid, Int32, Int32)
Public method GetCategoryTree(String, Guid, Int32, String, List<String>, List<String>, List<Int32>, List<Int32>, Int32)
Public method GetCurrentExtensionVersions
Public method GetRepositoryMetadataSerializer
Public method GetRootCategories
Public method GetSubCategories(Int32, String) Obsolete. Gets the subcategories of a root category.
Public method GetSubCategories(Int32, String, String, List<String>, List<String>, List<Int32>, List<Int32>, String) Obsolete. Gets the subcategories of a category as an enumerable IRepositoryCategory instance, based on the category attributes.

Top

Events

  Name Description
Public event DownloadCompleted Event that is fired at the completion of a download.
Public event DownloadProgressChanged Event that is fired when a download is completed, is canceled, or has an error.

Top

Remarks

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

Implement this interface in custom extension manager implementations to access an online repository.

See Also

Reference

Microsoft.VisualStudio.ExtensionManager Namespace