Share via


DataTransferEventHandler Delegate

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

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Delegate Sub DataTransferEventHandler ( _
    sender As Object, _
    e As DataTransferEventArgs _
)
'Usage
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 supports the use of delegates, but not the declaration of new ones.

Parameters

  • sender
    Type: System.Object
    An Object system object value that specifies the object that raised the event.