Делегат DataTransferEventHandler
The DataTransferEventHandler class represents the method that handles the event raised by the data transfer process.
Пространство имен: Microsoft.SqlServer.Management.Common
Сборка: Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)
Синтаксис
'Декларация
Public Delegate Sub DataTransferEventHandler ( _
sender As Object, _
e As DataTransferEventArgs _
)
'Применение
Dim instance As New DataTransferEventHandler(AddressOf HandlerMethod)
public delegate void DataTransferEventHandler(
Object sender,
DataTransferEventArgs e
)
public delegate void DataTransferEventHandler(
Object^ sender,
DataTransferEventArgs^ e
)
type DataTransferEventHandler =
delegate of
sender:Object *
e:DataTransferEventArgs -> unit
JScript поддерживает использование делегатов, но не объявление новых.
Параметры
- sender
Тип System. . :: . .Object
An Object system object value that specifies the object that raised the event.
- e
Тип Microsoft.SqlServer.Management.Common. . :: . .DataTransferEventArgs
A DataTransferEventArgs object value that specifies the arguments passed to the event handler.