IVsDataAsyncCommand Interface

Definition

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

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
Derived
Attributes

Methods

CancelAsync(Object)

When implemented by a class, cancels the asynchronous call, returning immediately.

DeriveParametersAsync(String, DataCommandType, Int32, Object)

When implemented by a class, derives, in an asynchronous manner, a set of parameters for use with a specified command.

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

When implemented by a class, derives, in an asynchronous manner, the schema of the specified command.

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

When implemented by a class, executes a command in an asynchronous manner.

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

Executes, in an asynchronous manner, a command that does not return any results beyond an integer value indicating status.

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

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.

Events

DeriveParametersCompleted

Occurs when the DeriveParametersAsync(String, DataCommandType, Int32, Object) command is completed.

DeriveSchemaCompleted

Occurs when the DeriveSchemaAsync(String, DataCommandType, IVsDataParameter[], Int32, Object) command is completed.

ExecuteCompleted

Occurs when the ExecuteAsync(String, DataCommandType, IVsDataParameter[], Int32, Object) command is completed.

ExecuteWithoutResultsCompleted

Occurs when the ExecuteWithoutResultsAsync(String, DataCommandType, IVsDataParameter[], Int32, Object) command is completed.

PrepareCompleted

Occurs when the PrepareAsync(String, DataCommandType, IVsDataParameter[], Int32, Object) command is completed.

Applies to