Compartir a través de


DataTransferEventHandler Delegado

The DataTransferEventHandler class represents the method that handles the event raised by the data transfer process.

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
Public Delegate Sub DataTransferEventHandler ( _
    sender As Object, _
    e As DataTransferEventArgs _
)
'Uso
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 admite el uso de delegados, pero no la declaración de otros nuevos.

Parámetros