Condividi tramite


Interfaccia IVsExtensionRepository

Used to communicate with an online repository of extensions

Spazio dei nomi:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Sintassi

'Dichiarazione
<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

Il tipo IVsExtensionRepository espone i seguenti membri.

Metodi

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

In alto

Eventi

  Nome Descrizione
Evento pubblico DownloadCompleted Event that is fired at the completion of a download.
Evento pubblico DownloadProgressChanged Event that is fired when a download is completed, is canceled, or has an error.

In alto

Note

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.

Vedere anche

Riferimenti

Spazio dei nomi Microsoft.VisualStudio.ExtensionManager