Partilhar via


Interface IVsExtensionRepository

Used to communicate with an online repository of extensions

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

Sintaxe

'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

O tipo IVsExtensionRepository expõe os membros a seguir.

Métodos

  Nome Descrição
Método público CreateQuery<T>() Creates a query to populate the list of available extensions.
Método público CreateQuery<T>(Boolean)
Método público CreateQuery<T>(Boolean, Boolean)
Método público CreateQuery<T>(Boolean, Boolean, Boolean)
Método público CreateQuery<T>(Boolean, Boolean, CultureInfo)
Método público CreateQuery<T>(Boolean, Boolean, String)
Método público CreateQuery<T>(Boolean, Boolean, Boolean, CultureInfo)
Método público Download Downloads an extension.
Método público DownloadAsync Begins an asynchronous download operation.
Método público DownloadAsyncCancel Cancels an asynchronous download operation.
Método público GetCategoryTree(String, Guid, Int32, Int32)
Método público GetCategoryTree(String, Guid, Int32, String, List<String>, List<String>, List<Int32>, List<Int32>, Int32)
Método público GetCurrentExtensionVersions
Método público GetRepositoryMetadataSerializer
Método público GetRootCategories
Método público GetSubCategories(Int32, String) Obsoleta. Gets the subcategories of a root category.
Método público GetSubCategories(Int32, String, String, List<String>, List<String>, List<Int32>, List<Int32>, String) Obsoleta. Gets the subcategories of a category as an enumerable IRepositoryCategory instance, based on the category attributes.

Superior

Eventos

  Nome Descrição
Evento público DownloadCompleted Event that is fired at the completion of a download.
Evento público DownloadProgressChanged Event that is fired when a download is completed, is canceled, or has an error.

Superior

Comentários

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.

Consulte também

Referência

Namespace Microsoft.VisualStudio.ExtensionManager