Compartir a través de


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

Inicializa una nueva instancia de la clase de DataAsyncCommandEvents con delegados especificados.

Espacio de nombres:  Microsoft.VisualStudio.Data
Ensamblado:  Microsoft.VisualStudio.Data (en Microsoft.VisualStudio.Data.dll)

Sintaxis

'Declaración
Public Sub New ( _
    commandStart As DataAsyncCommandStartEventHandler, _
    commandFailure As DataAsyncCommandFailureEventHandler, _
    commandNextResult As DataAsyncCommandFetchEventHandler, _
    commandRead As DataAsyncCommandFetchEventHandler, _
    commandCancel As DataAsyncCommandCancelEventHandler, _
    commandEnd As DataAsyncCommandEndEventHandler _
)
public DataAsyncCommandEvents(
    DataAsyncCommandStartEventHandler commandStart,
    DataAsyncCommandFailureEventHandler commandFailure,
    DataAsyncCommandFetchEventHandler commandNextResult,
    DataAsyncCommandFetchEventHandler commandRead,
    DataAsyncCommandCancelEventHandler commandCancel,
    DataAsyncCommandEndEventHandler commandEnd
)
public:
DataAsyncCommandEvents(
    DataAsyncCommandStartEventHandler^ commandStart, 
    DataAsyncCommandFailureEventHandler^ commandFailure, 
    DataAsyncCommandFetchEventHandler^ commandNextResult, 
    DataAsyncCommandFetchEventHandler^ commandRead, 
    DataAsyncCommandCancelEventHandler^ commandCancel, 
    DataAsyncCommandEndEventHandler^ commandEnd
)
new : 
        commandStart:DataAsyncCommandStartEventHandler * 
        commandFailure:DataAsyncCommandFailureEventHandler * 
        commandNextResult:DataAsyncCommandFetchEventHandler * 
        commandRead:DataAsyncCommandFetchEventHandler * 
        commandCancel:DataAsyncCommandCancelEventHandler * 
        commandEnd:DataAsyncCommandEndEventHandler -> DataAsyncCommandEvents
public function DataAsyncCommandEvents(
    commandStart : DataAsyncCommandStartEventHandler, 
    commandFailure : DataAsyncCommandFailureEventHandler, 
    commandNextResult : DataAsyncCommandFetchEventHandler, 
    commandRead : DataAsyncCommandFetchEventHandler, 
    commandCancel : DataAsyncCommandCancelEventHandler, 
    commandEnd : DataAsyncCommandEndEventHandler
)

Parámetros

Seguridad de .NET Framework

Vea también

Referencia

DataAsyncCommandEvents Clase

DataAsyncCommandEvents (Sobrecarga)

Microsoft.VisualStudio.Data (Espacio de nombres)

DataAsyncCommandStartEventHandler

DataAsyncCommandFailureEventHandler

DataAsyncCommandCancelEventHandler

DataAsyncCommandEndEventHandler

DataAsyncCommandFetchEventHandler