DataTransferProgressEventArgs 생성자
Initializes a new instance of the DataTransferProgressEventArgs class for the specified event with the specified transfer ID, progress count, and associated exception.
네임스페이스: Microsoft.SqlServer.Management.Common
어셈블리: Microsoft.SqlServer.ConnectionInfo.dll의 Microsoft.SqlServer.ConnectionInfo
구문
‘선언
Public Sub New ( _
eventType As DataTransferProgressEventType, _
transferId As String, _
progressCount As Long, _
ex As Exception _
)
‘사용 방법
Dim eventType As DataTransferProgressEventType
Dim transferId As String
Dim progressCount As Long
Dim ex As Exception
Dim instance As New DataTransferProgressEventArgs(eventType, _
transferId, progressCount, ex)
public DataTransferProgressEventArgs(
DataTransferProgressEventType eventType,
string transferId,
long progressCount,
Exception ex
)
public:
DataTransferProgressEventArgs(
DataTransferProgressEventType eventType,
String^ transferId,
long long progressCount,
Exception^ ex
)
new :
eventType:DataTransferProgressEventType *
transferId:string *
progressCount:int64 *
ex:Exception -> DataTransferProgressEventArgs
public function DataTransferProgressEventArgs(
eventType : DataTransferProgressEventType,
transferId : String,
progressCount : long,
ex : Exception
)
매개 변수
- eventType
형식: Microsoft.SqlServer.Management.Common. . :: . .DataTransferProgressEventType
A DataTransferProgressEventType object that specifies the type of event that is associated with the DataTransferProgressEventArgs object.
- transferId
형식: System. . :: . .String
A String value that specifies the transfer ID value associated with the DataTransferProgressEventType object.
- progressCount
형식: System. . :: . .Int64
An Int64 value that specifies the progress of the transfer in numbers of items transferred.
- ex
형식: System. . :: . .Exception
An Exception value that specifies the exception associated with the DataTransferProgressEventArgs.
주의
The default constructor initializes any fields to their default values.