Поделиться через


Конструктор DataTransferEventArgs

Initializes a new instance of the DataTransferEventArgs class for the specified event and with the specified message.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Sub New ( _
    eventType As DataTransferEventType, _
    message As String _
)
'Применение
Dim eventType As DataTransferEventType
Dim message As String

Dim instance As New DataTransferEventArgs(eventType, _
    message)
public DataTransferEventArgs(
    DataTransferEventType eventType,
    string message
)
public:
DataTransferEventArgs(
    DataTransferEventType eventType, 
    String^ message
)
new : 
        eventType:DataTransferEventType * 
        message:string -> DataTransferEventArgs
public function DataTransferEventArgs(
    eventType : DataTransferEventType, 
    message : String
)

Параметры

Замечания

The default constructor initializes any fields to their default values.