DataTransferEventArgs Constructor
Initializes a new instance of the DataTransferEventArgs class for the specified event and with the specified message.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
Public Sub New ( _
eventType As DataTransferEventType, _
message As String _
)
'Uso
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
)
Parámetros
- eventType
Tipo: Microsoft.SqlServer.Management.Common. . :: . .DataTransferEventType
A DataTransferEventType object that specifies the type of event that is associated with the DataTransferEventArgs object.
- message
Tipo: System. . :: . .String
A string value that specifies the message text associated with the DataTransferEventType object.
Notas
The default constructor initializes any fields to their default values.