다음을 통해 공유


IVsExtensionRepository.DownloadAsync 메서드

Begins an asynchronous download operation.

네임스페이스:  Microsoft.VisualStudio.ExtensionManager
어셈블리:  Microsoft.VisualStudio.ExtensionManager(Microsoft.VisualStudio.ExtensionManager.dll)

구문

‘선언
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

매개 변수

반환 값

형식: 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.

.NET Framework 보안

참고 항목

참조

IVsExtensionRepository 인터페이스

Microsoft.VisualStudio.ExtensionManager 네임스페이스