Visual Basic (Declaration) | |
---|---|
<DartDescriptionAttribute("Event raised when an upload operation has completed.")> <CategoryAttribute("Action")> Public Event UploadComplete As UploadCompleteEventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As UploadManager Dim handler As UploadCompleteEventHandler AddHandler instance.UploadComplete, handler |
C# | |
---|---|
[DartDescriptionAttribute("Event raised when an upload operation has completed.")] [CategoryAttribute("Action")] public event UploadCompleteEventHandler UploadComplete |
C++/CLI | |
---|---|
[DartDescriptionAttribute("Event raised when an upload operation has completed.")] [CategoryAttribute("Action")] public: event UploadCompleteEventHandler^ UploadComplete |
The event handler receives an argument of type UploadCompleteEventArgs containing data related to this event. The following UploadCompleteEventArgs properties provide information specific to this event.
Property | Description |
---|---|
AverageTransferSpeed | The average transfer speed of the upload operation. |
BytesTransferred | The total bytes transferred during the upload operation. |
ElapsedTime | The elapsed time for the upload operation. |
FailedUploads | A list of files that failed to upload. |
Files | A list of files that were successfully uploaded. |
RequestSize | The size of the Post message requesting the upload. |
Target Platforms: Microsoft .NET Framework 2.0