Método IVsExtensionRepository.DownloadAsync
Begins an asynchronous download operation.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (em Microsoft.VisualStudio.ExtensionManager.dll)
Sintaxe
'Declaração
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
Parâmetros
extensionDetails
Tipo: Microsoft.VisualStudio.ExtensionManager.IRepositoryEntryThe IRepositoryEntry that corresponds to the extension to be downloaded.
Valor de retorno
Tipo: Guid
A GUID that identifies the download operation.
Comentários
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.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.