IVsExtensionManager.InstallAsyncCancel 方法

撤消挂起的异步安装操作。

命名空间:  Microsoft.VisualStudio.ExtensionManager
程序集:  Microsoft.VisualStudio.ExtensionManager(在 Microsoft.VisualStudio.ExtensionManager.dll 中)

语法

声明
Sub InstallAsyncCancel ( _
    userState As Object _
)
void InstallAsyncCancel(
    Object userState
)
void InstallAsyncCancel(
    Object^ userState
)
abstract InstallAsyncCancel : 
        userState:Object -> unit
function InstallAsyncCancel(
    userState : Object
)

参数

  • userState
    类型:Object

    表示的任务 ID 应取消哪安装。

备注

尽管此 API 支持 扩展管理器 基础结构,不建议使用它,因为它可能会发生更改。

中移除的 userState 参数从 InstallAsync 获取调用。

.NET Framework 安全性

请参阅

参考

IVsExtensionManager 接口

Microsoft.VisualStudio.ExtensionManager 命名空间