DataAsyncCommand Members

Enables executing data commands in an asynchronous manner.

The DataAsyncCommand type exposes the following members.

Constructors

  Name Description
Public method DataAsyncCommand Overloaded. Creates a new instance of the DataAsyncCommand class.

Top

Methods

  Name Description
Public method CancelAsync Cancels the asynchronous call, returning immediately.
Public method DeriveParametersAsync Derives, in an asynchronous manner, a set of parameters for use with a specified command.
Public method DeriveSchemaAsync Derives, in an asynchronous manner, the schema of the specified command.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method ExecuteAsync 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.
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnCancel Dispatches the asynchronous cancel operation to the appropriate synchronous method.
Protected method OnDeriveParameters Dispatches the asynchronous derive parameters operation to the synchronous DeriveParameters method call.
Protected method OnDeriveParametersCompleted Raises the DeriveParametersCompleted event.
Protected method OnDeriveSchema Dispatches the asynchronous derive schema operation to the synchronous DeriveSchema method call.
Protected method OnDeriveSchemaCompleted Raises the DeriveSchemaCompleted event.
Protected method OnExecute Dispatches the asynchronous execute operation to the synchronous Execute method call.
Protected method OnExecuteCompleted Raises the ExecuteCompleted event.
Protected method OnExecuteWithoutResults Dispatches the asynchronous execute-without-results operation to the synchronous ExecuteWithoutResults method call.
Protected method OnExecuteWithoutResultsCompleted Raises the ExecuteWithoutResultsCompleted event.
Protected method OnPrepare Dispatches the asynchronous prepare operation to the synchronous Prepare method call.
Protected method OnPrepareCompleted Raises the PrepareCompleted event.
Protected method OnSiteChanged Raises the SiteChanged event. (Inherited from DataSiteableObject<T>.)
Public method PrepareAsync 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.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Site Gets or sets the object site. (Inherited from DataSiteableObject<T>.)

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.
Public event SiteChanged (Inherited from DataSiteableObject<T>.)

Top

See Also

Reference

DataAsyncCommand Class

Microsoft.VisualStudio.Data.Framework Namespace