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
매개 변수
extensionDetails
형식: Microsoft.VisualStudio.ExtensionManager.IRepositoryEntryThe IRepositoryEntry that corresponds to the extension to be downloaded.
반환 값
형식: 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 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.