共用方式為


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.