Partager via


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

Initialise une nouvelle instance de la classe d' DataAsyncCommandEvents avec les délégués spécifiés.

Espace de noms :  Microsoft.VisualStudio.Data
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
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
)

Paramètres

Sécurité .NET Framework

Voir aussi

Référence

DataAsyncCommandEvents Classe

DataAsyncCommandEvents, surcharge

Microsoft.VisualStudio.Data, espace de noms

DataAsyncCommandStartEventHandler

DataAsyncCommandFailureEventHandler

DataAsyncCommandCancelEventHandler

DataAsyncCommandEndEventHandler

DataAsyncCommandFetchEventHandler