Sdílet prostřednictvím


DataAsyncCommandEvents – konstruktor (DataAsyncCommandStartEventHandler, DataAsyncCommandFailureEventHandler, DataAsyncCommandCancelEventHandler, DataAsyncCommandEndEventHandler)

Inicializuje novou instanci DataAsyncCommandEvents třídy určené delegáty.

Obor názvů:  Microsoft.VisualStudio.Data
Sestavení:  Microsoft.VisualStudio.Data (v Microsoft.VisualStudio.Data.dll)

Syntaxe

'Deklarace
Public Sub New ( _
    commandStart As DataAsyncCommandStartEventHandler, _
    commandFailure As DataAsyncCommandFailureEventHandler, _
    commandCancel As DataAsyncCommandCancelEventHandler, _
    commandEnd As DataAsyncCommandEndEventHandler _
)
public DataAsyncCommandEvents(
    DataAsyncCommandStartEventHandler commandStart,
    DataAsyncCommandFailureEventHandler commandFailure,
    DataAsyncCommandCancelEventHandler commandCancel,
    DataAsyncCommandEndEventHandler commandEnd
)
public:
DataAsyncCommandEvents(
    DataAsyncCommandStartEventHandler^ commandStart, 
    DataAsyncCommandFailureEventHandler^ commandFailure, 
    DataAsyncCommandCancelEventHandler^ commandCancel, 
    DataAsyncCommandEndEventHandler^ commandEnd
)
new : 
        commandStart:DataAsyncCommandStartEventHandler * 
        commandFailure:DataAsyncCommandFailureEventHandler * 
        commandCancel:DataAsyncCommandCancelEventHandler * 
        commandEnd:DataAsyncCommandEndEventHandler -> DataAsyncCommandEvents
public function DataAsyncCommandEvents(
    commandStart : DataAsyncCommandStartEventHandler, 
    commandFailure : DataAsyncCommandFailureEventHandler, 
    commandCancel : DataAsyncCommandCancelEventHandler, 
    commandEnd : DataAsyncCommandEndEventHandler
)

Parametry

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

DataAsyncCommandEvents Třída

DataAsyncCommandEvents – přetížení

Microsoft.VisualStudio.Data – obor názvů

DataAsyncCommandStartEventHandler

DataAsyncCommandFailureEventHandler

DataAsyncCommandCancelEventHandler

DataAsyncCommandEndEventHandler