Export (0) Print
Expand All

IVsExtensionRepository.DownloadAsync Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Begins an asynchronous download operation.

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

Guid DownloadAsync(
	IRepositoryEntry extensionDetails


Type: Microsoft.VisualStudio.ExtensionManager.IRepositoryEntry

The IRepositoryEntry that corresponds to the extension to be downloaded.

Return Value

Type: System.Guid
A GUID that identifies the download operation.

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

On completion, the IInstallableExtension that represents the VSIX package is returned as the Payload property of the DownloadCompletedEventArgs of the DownloadCompleted event.

The GUID that is returned by this method is used by the DownloadAsyncCancel method.

Community Additions

© 2014 Microsoft