Partilhar via


DataTransferEventArgs Constructor

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

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

Syntax

'Declaration
Public Sub New ( _
    eventType As DataTransferEventType, _
    message As String _
)
public DataTransferEventArgs (
    DataTransferEventType eventType,
    string message
)
public:
DataTransferEventArgs (
    DataTransferEventType eventType, 
    String^ message
)
public DataTransferEventArgs (
    DataTransferEventType eventType, 
    String message
)
public function DataTransferEventArgs (
    eventType : DataTransferEventType, 
    message : String
)

Parameters

  • message
    A string value that specifies the message text associated with the DataTransferEventType object.

Remarks

The default constructor initializes any fields to their default values.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DataTransferEventArgs Class
DataTransferEventArgs Members
Microsoft.SqlServer.Management.Common Namespace