DataAsyncCommandEvents Class

Definition

Represents a set of delegates that are called by methods on the DataAsyncCommand class to notify clients of command progress.

public ref class DataAsyncCommandEvents
public class DataAsyncCommandEvents
type DataAsyncCommandEvents = class
Public Class DataAsyncCommandEvents
Inheritance
DataAsyncCommandEvents

Constructors

DataAsyncCommandEvents()

Instantiates a new instance of the DataAsyncCommandEvents class.

DataAsyncCommandEvents(DataAsyncCommandStartEventHandler, DataAsyncCommandFailureEventHandler, DataAsyncCommandCancelEventHandler, DataAsyncCommandEndEventHandler)

Initializes a new instance of the DataAsyncCommandEvents class with the specified delegates.

DataAsyncCommandEvents(DataAsyncCommandStartEventHandler, DataAsyncCommandFailureEventHandler, DataAsyncCommandFetchEventHandler, DataAsyncCommandFetchEventHandler, DataAsyncCommandCancelEventHandler, DataAsyncCommandEndEventHandler)

Initializes a new instance of the DataAsyncCommandEvents class with the specified delegates.

Properties

CommandCancel

Retrieves or sets the delegate that is called when an asynchronous command is canceled.

CommandEnd

Retrieves or sets the delegate that is called when an asynchronous command has ended.

CommandFailure

Retrieves or sets the delegate that is called when an asynchronous command has a failure.

CommandNextResult

Gets or sets the delegate that is called when an asynchronous command has one or more result sets available.

CommandRead

Retrieves or sets the delegate that is called when an asynchronous command has one or more blocks of data available to read in a result set.

CommandStart

Retrieves or sets the delegate that is called when an asynchronous command starts.

Applies to