Partager via


IVsDataAsyncCommand Interface

Represents the interface that contains methods for executing data commands in an asynchronous manner.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
<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

The IVsDataAsyncCommand type exposes the following members.

Methods

  Name Description
Public method CancelAsync When implemented by a class, cancels the asynchronous call, returning immediately.
Public method DeriveParametersAsync When implemented by a class, derives, in an asynchronous manner, a set of parameters for use with a specified command.
Public method DeriveSchemaAsync When implemented by a class, derives, in an asynchronous manner, the schema of the specified command.
Public method ExecuteAsync When implemented by a class, executes a command in an asynchronous manner.
Public method ExecuteWithoutResultsAsync Executes, in an asynchronous manner, a command that does not return any results beyond an integer value indicating status.
Public method PrepareAsync When implemented by a class, prepares, in an asynchronous manner, the specified command to be executed against the data source; the command can then be executed multiple times, with varying parameters.

Top

Events

  Name Description
Public event DeriveParametersCompleted Occurs when the DeriveParametersAsync command is completed.
Public event DeriveSchemaCompleted Occurs when the DeriveSchemaAsync command is completed.
Public event ExecuteCompleted Occurs when the ExecuteAsync command is completed.
Public event ExecuteWithoutResultsCompleted Occurs when the ExecuteWithoutResultsAsync command is completed.
Public event PrepareCompleted Occurs when the PrepareAsync command is completed.

Top

Remarks

This interface has a base implementation in the DDEX Framework.

See Also

Reference

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace