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

'Declaration
<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, 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(Int32, String) Gets category information that specifies only categoryId and culture information.
Public method GetCategoryTree(Int32, String, String, List<String>, List<String>, List<Int32>, List<Int32>, String) Gets category information, according to the specified values.
Public method GetRepositoryMetadataSerializer
Public method GetRootCategories Gets the root categories of the repository.
Public method GetSubCategories(Int32, String) Gets the subcategories of a root category.
Public method GetSubCategories(Int32, String, String, List<String>, List<String>, List<Int32>, List<Int32>, String) 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