IVsDataAsyncCommand 接口

定义

表示以异步方式为数据源派生参数、准备、派生架构和执行命令的能力。

public interface class IVsDataAsyncCommand
[Microsoft.VisualStudio.Data.Core.DataClientObject("38A714F3-E641-4be5-8E92-A26A0F0E920A")]
[Microsoft.VisualStudio.Data.Core.DataDefaultObject("1F0DA31F-1C61-4b96-B1CC-CBF2D3872353")]
public interface IVsDataAsyncCommand
[<Microsoft.VisualStudio.Data.Core.DataClientObject("38A714F3-E641-4be5-8E92-A26A0F0E920A")>]
[<Microsoft.VisualStudio.Data.Core.DataDefaultObject("1F0DA31F-1C61-4b96-B1CC-CBF2D3872353")>]
type IVsDataAsyncCommand = interface
Public Interface IVsDataAsyncCommand
派生
属性

方法

CancelAsync(Object)

由类实现时,取消异步调用,立即返回。

DeriveParametersAsync(String, DataCommandType, Int32, Object)

当由类实现时,以异步方式派生一组参数,用于指定的命令。

DeriveSchemaAsync(String, DataCommandType, IVsDataParameter[], Int32, Object)

由类实现时,以异步方式派生指定命令的架构。

ExecuteAsync(String, DataCommandType, IVsDataParameter[], Int32, Object)

由类实现时,以异步方式执行命令。

ExecuteWithoutResultsAsync(String, DataCommandType, IVsDataParameter[], Int32, Object)

以异步方式执行命令,该命令不返回指示状态的整数值以外的任何结果。

PrepareAsync(String, DataCommandType, IVsDataParameter[], Int32, Object)

当由类实现时,以异步方式准备要对数据源执行的指定命令;然后,可以使用不同的参数多次执行 命令。

事件

DeriveParametersCompleted

在命令完成时 DeriveParametersAsync(String, DataCommandType, Int32, Object) 发生。

DeriveSchemaCompleted

在命令完成时 DeriveSchemaAsync(String, DataCommandType, IVsDataParameter[], Int32, Object) 发生。

ExecuteCompleted

在命令完成时 ExecuteAsync(String, DataCommandType, IVsDataParameter[], Int32, Object) 发生。

ExecuteWithoutResultsCompleted

在命令完成时 ExecuteWithoutResultsAsync(String, DataCommandType, IVsDataParameter[], Int32, Object) 发生。

PrepareCompleted

在命令完成时 PrepareAsync(String, DataCommandType, IVsDataParameter[], Int32, Object) 发生。

适用于