Condividi tramite


Metodo IVsExtensionRepository.DownloadAsync

Begins an asynchronous download operation.

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

Sintassi

'Dichiarazione
Function DownloadAsync ( _
    extensionDetails As IRepositoryEntry _
) As Guid
Guid DownloadAsync(
    IRepositoryEntry extensionDetails
)
Guid DownloadAsync(
    IRepositoryEntry^ extensionDetails
)
abstract DownloadAsync : 
        extensionDetails:IRepositoryEntry -> Guid
function DownloadAsync(
    extensionDetails : IRepositoryEntry
) : Guid

Parametri

Valore restituito

Tipo: Guid
A GUID that identifies the download operation.

Note

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.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsExtensionRepository Interfaccia

Spazio dei nomi Microsoft.VisualStudio.ExtensionManager