IVsDataAsyncCommand 接口

表示包含执行的数据命令方法以异步方式的接口。

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

语法

声明
<DataDefaultObjectAttribute("1F0DA31F-1C61-4b96-B1CC-CBF2D3872353")> _
<DataClientObjectAttribute("38A714F3-E641-4be5-8E92-A26A0F0E920A")> _
Public Interface IVsDataAsyncCommand
[DataDefaultObjectAttribute("1F0DA31F-1C61-4b96-B1CC-CBF2D3872353")]
[DataClientObjectAttribute("38A714F3-E641-4be5-8E92-A26A0F0E920A")]
public interface IVsDataAsyncCommand
[DataDefaultObjectAttribute(L"1F0DA31F-1C61-4b96-B1CC-CBF2D3872353")]
[DataClientObjectAttribute(L"38A714F3-E641-4be5-8E92-A26A0F0E920A")]
public interface class IVsDataAsyncCommand
[<DataDefaultObjectAttribute("1F0DA31F-1C61-4b96-B1CC-CBF2D3872353")>]
[<DataClientObjectAttribute("38A714F3-E641-4be5-8E92-A26A0F0E920A")>]
type IVsDataAsyncCommand =  interface end
public interface IVsDataAsyncCommand

IVsDataAsyncCommand 类型公开以下成员。

方法

  名称 说明
公共方法 CancelAsync 当实现由选件类,异步调用的取消,立即返回。
公共方法 DeriveParametersAsync 当实现由选件类,派生,以异步方式,将参数设置为具有指定的命令的使用。
公共方法 DeriveSchemaAsync 当实现由选件类,派生,以异步方式,指定的命令的模式。
公共方法 ExecuteAsync 当实现由选件类执行命令,以异步方式。
公共方法 ExecuteWithoutResultsAsync 执行,以异步方式,不返回以指示状态的整数值以外的任何结果的命令。
公共方法 PrepareAsync 当实现由选件类,准备,以异步方式,指定的命令执行数据源;命令可然后执行多次,使用不同的参数。

页首

事件

  名称 说明
公共事件 DeriveParametersCompleted DeriveParametersAsync 命令完成,发生。
公共事件 DeriveSchemaCompleted DeriveSchemaAsync 命令完成,发生。
公共事件 ExecuteCompleted ExecuteAsync 命令完成,发生。
公共事件 ExecuteWithoutResultsCompleted ExecuteWithoutResultsAsync 命令完成,发生。
公共事件 PrepareCompleted PrepareAsync 命令完成,发生。

页首

备注

此接口具有一个基实现。DDEX结构。

请参见

参考

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