VintaSoft Twain .NET SDK v10.2
HttpUpload Constructor(ISynchronizeInvoke)




Vintasoft.Twain.ImageUploading.Http Namespace > HttpUpload Class > HttpUpload Constructor : HttpUpload Constructor(ISynchronizeInvoke)
Context which should receive class events.
Initializes a new instance of the HttpUpload class.
Syntax
'Declaration
 
Public Function New( _
   ByVal eventSynchronizer As ISynchronizeInvoke _
)
'Usage
 
Dim eventSynchronizer As ISynchronizeInvoke
 
Dim instance As New HttpUpload(eventSynchronizer)
public HttpUpload( 
   ISynchronizeInvoke eventSynchronizer
)
public: HttpUpload( 
   ISynchronizeInvoke* eventSynchronizer
)
public:
HttpUpload( 
   ISynchronizeInvoke^ eventSynchronizer
)

Parameters

eventSynchronizer
Context which should receive class events.
Remarks
Use this constructor if your application is a window forms application.

Image uploading process can be monitored with StatusChanged, ProgressChanged and Completed events and StatusCode, ErrorCode, BytesTotal and BytesUploaded properties.
Example
Please see example here.
Requirements

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

See Also

Reference

HttpUpload Class
HttpUpload Members
Overload List