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


IVsExtensionRepository - интерфейс

Used to communicate with an online repository of extensions

Пространство имен:  Microsoft.VisualStudio.ExtensionManager
Сборка:  Microsoft.VisualStudio.ExtensionManager (в Microsoft.VisualStudio.ExtensionManager.dll)

Синтаксис

'Декларация
<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

Тип IVsExtensionRepository предоставляет следующие члены.

Методы

  Имя Описание
Открытый метод CreateQuery<T>() Creates a query to populate the list of available extensions.
Открытый метод CreateQuery<T>(Boolean)
Открытый метод CreateQuery<T>(Boolean, Boolean)
Открытый метод CreateQuery<T>(Boolean, Boolean, Boolean)
Открытый метод CreateQuery<T>(Boolean, Boolean, CultureInfo)
Открытый метод CreateQuery<T>(Boolean, Boolean, String)
Открытый метод CreateQuery<T>(Boolean, Boolean, Boolean, CultureInfo)
Открытый метод Download Downloads an extension.
Открытый метод DownloadAsync Begins an asynchronous download operation.
Открытый метод DownloadAsyncCancel Cancels an asynchronous download operation.
Открытый метод GetCategoryTree(String, Guid, Int32, Int32)
Открытый метод GetCategoryTree(String, Guid, Int32, String, List<String>, List<String>, List<Int32>, List<Int32>, Int32)
Открытый метод GetCurrentExtensionVersions
Открытый метод GetRepositoryMetadataSerializer
Открытый метод GetRootCategories
Открытый метод GetSubCategories(Int32, String) Устаревшее. Gets the subcategories of a root category.
Открытый метод 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.

В начало страницы

События

  Имя Описание
Открытое событие DownloadCompleted Event that is fired at the completion of a download.
Открытое событие DownloadProgressChanged Event that is fired when a download is completed, is canceled, or has an error.

В начало страницы

Заметки

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.

См. также

Ссылки

Microsoft.VisualStudio.ExtensionManager - пространство имен