Share via


DataAsyncCommandEvents Constructor (DataAsyncCommandStartEventHandler, DataAsyncCommandFailureEventHandler, DataAsyncCommandCancelEventHandler, DataAsyncCommandEndEventHandler)

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

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
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
)

Parameters

.NET Framework Security

See Also

Reference

DataAsyncCommandEvents Class

DataAsyncCommandEvents Overload

Microsoft.VisualStudio.Data Namespace

DataAsyncCommandStartEventHandler

DataAsyncCommandFailureEventHandler

DataAsyncCommandCancelEventHandler

DataAsyncCommandEndEventHandler