IVsDataAsyncCommand.CancelAsync 方法

当实现由选件类,异步调用的取消,立即返回。

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

语法

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

参数

  • userState
    类型:System.Object
    操作的单个操作ID可以取消。

.NET Framework 安全性

请参见

参考

IVsDataAsyncCommand 接口

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空间