Partilhar via


Construtor DataTransferProgressEventArgs

Initializes a new instance of the DataTransferProgressEventArgs class for the specified event with the specified transfer ID, progress count, and associated exception.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Public Sub New ( _
    eventType As DataTransferProgressEventType, _
    transferId As String, _
    progressCount As Long, _
    ex As Exception _
)
'Uso
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
)

Parâmetros

  • progressCount
    Tipo: System.Int64
    An Int64 value that specifies the progress of the transfer in numbers of items transferred.

Comentários

The default constructor initializes any fields to their default values.

Consulte também

Referência

DataTransferProgressEventArgs Classe

Namespace Microsoft.SqlServer.Management.Common