C1.Silverlight.Uploader Namespace > UploadManagerWebService Class : UploadProgressChanged Event |
'Declaration
Public Event UploadProgressChanged As System.EventHandler(Of UploadProgressChangedEventArgs)
'Usage
Dim instance As UploadManagerWebService Dim handler As System.EventHandler(Of UploadProgressChangedEventArgs) AddHandler instance.UploadProgressChanged, handler
public event System.EventHandler<UploadProgressChangedEventArgs> UploadProgressChanged
public event UploadProgressChanged: System.EventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.EventHandler<UploadProgressChangedEventArgs*>* UploadProgressChanged
public: event System.EventHandler<UploadProgressChangedEventArgs^>^ UploadProgressChanged
The event handler receives an argument of type UploadProgressChangedEventArgs containing data related to this event. The following UploadProgressChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
BytesUploaded | Amount of bytes that were uploaded. |
ProgressPercentage | Percentage of bytes that were uploaded. |
TotalBytesToUpload | Amount of bytes that must be uploaded. |
UserState | Additional information attached by the user. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2