다음을 통해 공유


DataAsyncCommand Class

Definition

Enables executing data commands in an asynchronous manner.

public ref class DataAsyncCommand abstract
[System.Runtime.InteropServices.Guid("AD18952D-2ED0-48f3-B5E6-48992526EB93")]
public abstract class DataAsyncCommand
[<System.Runtime.InteropServices.Guid("AD18952D-2ED0-48f3-B5E6-48992526EB93")>]
type DataAsyncCommand = class
Public MustInherit Class DataAsyncCommand
Inheritance
DataAsyncCommand
Attributes

Constructors

DataAsyncCommand()

Class constructor. Instantiates a nonparameterized instance of the DataAsyncCommand class.

Methods

AsyncDeriveParameters(String, Int32, Int32, DataAsyncCommandEvents)

Derives, in an asynchronous manner, a set of parameters for use with a specified command.

AsyncDeriveSchema(String, Int32, DataParameter[], Int32, DataAsyncCommandEvents)

Derives, in an asynchronous manner, the schema of the specified command.

AsyncExecute(String, Int32, DataParameter[], Int32, DataAsyncCommandEvents)

Executes a command in an asynchronous manner.

AsyncExecuteWithoutResults(String, Int32, DataParameter[], Int32, DataAsyncCommandEvents)

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

AsyncPrepare(String, Int32, Int32, DataAsyncCommandEvents)

Prepares, in an asynchronous manner, the specified command to be executed against the data source; the command may then be executed multiple times, with varying parameters.

Cancel()

Cancels the asynchronous call, returning immediately.

Cancel(Boolean)

Cancels the asynchronous call, returning either immediately (asynchronously) or after waiting for the call to be fully cancelled (synchronously).

Applies to