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




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

Parameters

dispatcherObject
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