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 命名空间