Udostępnij przez


DataTransferProgressEventArgs Constructor

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 (in microsoft.sqlserver.connectioninfo.dll)

Syntax

'Deklaracja
Public Sub New ( _
    eventType As DataTransferProgressEventType, _
    transferId As String, _
    progressCount As Long, _
    ex As Exception _
)
public DataTransferProgressEventArgs (
    DataTransferProgressEventType eventType,
    string transferId,
    long progressCount,
    Exception ex
)
public:
DataTransferProgressEventArgs (
    DataTransferProgressEventType eventType, 
    String^ transferId, 
    long long progressCount, 
    Exception^ ex
)
public DataTransferProgressEventArgs (
    DataTransferProgressEventType eventType, 
    String transferId, 
    long progressCount, 
    Exception ex
)
public function DataTransferProgressEventArgs (
    eventType : DataTransferProgressEventType, 
    transferId : String, 
    progressCount : long, 
    ex : Exception
)

Parameters

  • transferId
    A String value that specifies the transfer ID value associated with the DataTransferProgressEventType object.
  • progressCount
    An Int64 value that specifies the progress of the transfer in numbers of items transferred.
  • ex
    An Exception value that specifies the exception associated with the DataTransferProgressEventArgs.

Remarks

The default constructor initializes any fields to their default values.

Platforms

Development Platforms

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

Target Platforms

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