VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain.ImageUploading.Http Namespace / ProgressChangedEventArgs Class / ProgressChangedEventArgs Constructor
Current status code.
Current status string.
Count of bytes that should be uploaded to HTTP server.
Count of bytes that already uploaded to HTTP server.




In This Topic
    ProgressChangedEventArgs Constructor
    In This Topic
    Initializes a new instance of the ProgressChangedEventArgs class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal statusCode As StatusCode, _
       ByVal statusString As String, _
       ByVal bytesTotal As Integer, _
       ByVal bytesUploaded As Integer _
    )
    'Usage
     
    Dim statusCode As StatusCode
    Dim statusString As String
    Dim bytesTotal As Integer
    Dim bytesUploaded As Integer
     
    Dim instance As New ProgressChangedEventArgs(statusCode, statusString, bytesTotal, bytesUploaded)
    public ProgressChangedEventArgs( 
       StatusCode statusCode,
       string statusString,
       int bytesTotal,
       int bytesUploaded
    )
    public: ProgressChangedEventArgs( 
       StatusCode statusCode,
       string* statusString,
       int bytesTotal,
       int bytesUploaded
    )
    public:
    ProgressChangedEventArgs( 
       StatusCode statusCode,
       String^ statusString,
       int bytesTotal,
       int bytesUploaded
    )

    Parameters

    statusCode
    Current status code.
    statusString
    Current status string.
    bytesTotal
    Count of bytes that should be uploaded to HTTP server.
    bytesUploaded
    Count of bytes that already uploaded to HTTP server.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also