Поделиться через


IVsExtensionRepository.DownloadAsyncCancel - метод

Cancels an asynchronous download operation.

Пространство имен:  Microsoft.VisualStudio.ExtensionManager
Сборка:  Microsoft.VisualStudio.ExtensionManager (в Microsoft.VisualStudio.ExtensionManager.dll)

Синтаксис

'Декларация
Sub DownloadAsyncCancel ( _
    downloadJobId As Guid _
)
void DownloadAsyncCancel(
    Guid downloadJobId
)
void DownloadAsyncCancel(
    Guid downloadJobId
)
abstract DownloadAsyncCancel : 
        downloadJobId:Guid -> unit
function DownloadAsyncCancel(
    downloadJobId : Guid
)

Параметры

  • downloadJobId
    Тип: Guid

    The ID of the download operation to be canceled.

Заметки

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

The GUID that is required by this method is returned by the DownloadAsync method.

Безопасность платформы .NET Framework

См. также

Ссылки

IVsExtensionRepository Интерфейс

Microsoft.VisualStudio.ExtensionManager - пространство имен