다음을 통해 공유


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.