Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal filesInRequest As Integer, _ ByVal filesTransferred As Integer, _ ByVal elapsedTime As TimeSpan, _ ByVal estimatedRemainingTime As TimeSpan, _ ByVal requestSize As Long, _ ByVal bytesTransferred As Long, _ ByVal data() As Byte, _ ByVal averageTransferSpeed As Double, _ ByVal currentTransferSpeed As Double, _ ByVal fileName As String, _ ByVal uniqueID As String, _ ByVal fileSize As Long, _ ByVal fileBytesUploaded As Long, _ ByVal controlID As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim filesInRequest As Integer Dim filesTransferred As Integer Dim elapsedTime As TimeSpan Dim estimatedRemainingTime As TimeSpan Dim requestSize As Long Dim bytesTransferred As Long Dim data() As Byte Dim averageTransferSpeed As Double Dim currentTransferSpeed As Double Dim fileName As String Dim uniqueID As String Dim fileSize As Long Dim fileBytesUploaded As Long Dim controlID As String Dim instance As New UploadProgressEventArgs(filesInRequest, filesTransferred, elapsedTime, estimatedRemainingTime, requestSize, bytesTransferred, data, averageTransferSpeed, currentTransferSpeed, fileName, uniqueID, fileSize, fileBytesUploaded, controlID) |
C# | |
---|---|
public UploadProgressEventArgs( int filesInRequest, int filesTransferred, TimeSpan elapsedTime, TimeSpan estimatedRemainingTime, long requestSize, long bytesTransferred, byte[] data, double averageTransferSpeed, double currentTransferSpeed, string fileName, string uniqueID, long fileSize, long fileBytesUploaded, string controlID ) |
C++/CLI | |
---|---|
public: UploadProgressEventArgs( int filesInRequest, int filesTransferred, TimeSpan elapsedTime, TimeSpan estimatedRemainingTime, int64 requestSize, int64 bytesTransferred, array<byte>^ data, double averageTransferSpeed, double currentTransferSpeed, String^ fileName, String^ uniqueID, int64 fileSize, int64 fileBytesUploaded, String^ controlID ) |
Parameters
- filesInRequest
- filesTransferred
- elapsedTime
- estimatedRemainingTime
- requestSize
- bytesTransferred
- data
- averageTransferSpeed
- currentTransferSpeed
- fileName
- uniqueID
- fileSize
- fileBytesUploaded
- controlID
Target Platforms: Microsoft .NET Framework 2.0