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
'宣告
<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 | |
---|---|---|
CreateQuery<T>() | Creates a query to populate the list of available extensions. | |
CreateQuery<T>(Boolean) | ||
CreateQuery<T>(Boolean, Boolean) | ||
CreateQuery<T>(Boolean, Boolean, CultureInfo) | ||
Download | Downloads an extension. | |
DownloadAsync | Begins an asynchronous download operation. | |
DownloadAsyncCancel | Cancels an asynchronous download operation. | |
GetCategoryTree(Int32, String) | Gets category information that specifies only categoryId and culture information. | |
GetCategoryTree(Int32, String, String, List<String>, List<String>, List<Int32>, List<Int32>, String) | Gets category information, according to the specified values. | |
GetRepositoryMetadataSerializer | ||
GetRootCategories | Gets the root categories of the repository. | |
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. |
Top
Events
Name | Description | |
---|---|---|
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. |
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.