DataAsyncCommandEvents Constructors

Definition

Overloads

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.

DataAsyncCommandEvents()

Instantiates a new instance of the DataAsyncCommandEvents class.

public:
 DataAsyncCommandEvents();
public DataAsyncCommandEvents ();
Public Sub New ()

Applies to

DataAsyncCommandEvents(DataAsyncCommandStartEventHandler, DataAsyncCommandFailureEventHandler, DataAsyncCommandCancelEventHandler, DataAsyncCommandEndEventHandler)

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

public:
 DataAsyncCommandEvents(Microsoft::VisualStudio::Data::DataAsyncCommandStartEventHandler ^ commandStart, Microsoft::VisualStudio::Data::DataAsyncCommandFailureEventHandler ^ commandFailure, Microsoft::VisualStudio::Data::DataAsyncCommandCancelEventHandler ^ commandCancel, Microsoft::VisualStudio::Data::DataAsyncCommandEndEventHandler ^ commandEnd);
public DataAsyncCommandEvents (Microsoft.VisualStudio.Data.DataAsyncCommandStartEventHandler commandStart, Microsoft.VisualStudio.Data.DataAsyncCommandFailureEventHandler commandFailure, Microsoft.VisualStudio.Data.DataAsyncCommandCancelEventHandler commandCancel, Microsoft.VisualStudio.Data.DataAsyncCommandEndEventHandler commandEnd);
new Microsoft.VisualStudio.Data.DataAsyncCommandEvents : Microsoft.VisualStudio.Data.DataAsyncCommandStartEventHandler * Microsoft.VisualStudio.Data.DataAsyncCommandFailureEventHandler * Microsoft.VisualStudio.Data.DataAsyncCommandCancelEventHandler * Microsoft.VisualStudio.Data.DataAsyncCommandEndEventHandler -> Microsoft.VisualStudio.Data.DataAsyncCommandEvents
Public Sub New (commandStart As DataAsyncCommandStartEventHandler, commandFailure As DataAsyncCommandFailureEventHandler, commandCancel As DataAsyncCommandCancelEventHandler, commandEnd As DataAsyncCommandEndEventHandler)

Parameters

commandStart
DataAsyncCommandStartEventHandler

The delegate to call when a command is starting.

commandFailure
DataAsyncCommandFailureEventHandler

The delegate to call when there is a command failure.

commandCancel
DataAsyncCommandCancelEventHandler

The delegate to call when a command is canceled.

commandEnd
DataAsyncCommandEndEventHandler

The delegate to call when a command has ended.

Applies to

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

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

public:
 DataAsyncCommandEvents(Microsoft::VisualStudio::Data::DataAsyncCommandStartEventHandler ^ commandStart, Microsoft::VisualStudio::Data::DataAsyncCommandFailureEventHandler ^ commandFailure, Microsoft::VisualStudio::Data::DataAsyncCommandFetchEventHandler ^ commandNextResult, Microsoft::VisualStudio::Data::DataAsyncCommandFetchEventHandler ^ commandRead, Microsoft::VisualStudio::Data::DataAsyncCommandCancelEventHandler ^ commandCancel, Microsoft::VisualStudio::Data::DataAsyncCommandEndEventHandler ^ commandEnd);
public DataAsyncCommandEvents (Microsoft.VisualStudio.Data.DataAsyncCommandStartEventHandler commandStart, Microsoft.VisualStudio.Data.DataAsyncCommandFailureEventHandler commandFailure, Microsoft.VisualStudio.Data.DataAsyncCommandFetchEventHandler commandNextResult, Microsoft.VisualStudio.Data.DataAsyncCommandFetchEventHandler commandRead, Microsoft.VisualStudio.Data.DataAsyncCommandCancelEventHandler commandCancel, Microsoft.VisualStudio.Data.DataAsyncCommandEndEventHandler commandEnd);
new Microsoft.VisualStudio.Data.DataAsyncCommandEvents : Microsoft.VisualStudio.Data.DataAsyncCommandStartEventHandler * Microsoft.VisualStudio.Data.DataAsyncCommandFailureEventHandler * Microsoft.VisualStudio.Data.DataAsyncCommandFetchEventHandler * Microsoft.VisualStudio.Data.DataAsyncCommandFetchEventHandler * Microsoft.VisualStudio.Data.DataAsyncCommandCancelEventHandler * Microsoft.VisualStudio.Data.DataAsyncCommandEndEventHandler -> Microsoft.VisualStudio.Data.DataAsyncCommandEvents
Public Sub New (commandStart As DataAsyncCommandStartEventHandler, commandFailure As DataAsyncCommandFailureEventHandler, commandNextResult As DataAsyncCommandFetchEventHandler, commandRead As DataAsyncCommandFetchEventHandler, commandCancel As DataAsyncCommandCancelEventHandler, commandEnd As DataAsyncCommandEndEventHandler)

Parameters

commandStart
DataAsyncCommandStartEventHandler

The delegate to call when a command is starting.

commandFailure
DataAsyncCommandFailureEventHandler

The delegate to call when there is a command failure.

commandNextResult
DataAsyncCommandFetchEventHandler

The delegate to call when a command has one or more result sets available.

commandRead
DataAsyncCommandFetchEventHandler

The delegate to call when a command has one or more blocks of data available to read from a result set.

commandCancel
DataAsyncCommandCancelEventHandler

The delegate to call when a command is canceled.

commandEnd
DataAsyncCommandEndEventHandler

The delegate to call when a command has ended.

Applies to