This event is raised each time an asynchronous upload makes progress. This event is raised when uploads are started using any of the following methods.
WebClient.UploadDataAsync(Uri, Byte[]) |
Sends a byte array to the resource, without blocking the calling thread. |
WebClient.UploadFileAsync(Uri, string) |
Sends a local file to the resource, without blocking the calling thread. |
WebClient.UploadValuesAsync(Uri, System.Collections.Specialized.NameValueCollection) |
Sends a System.Collections.Specialized.NameValueCollection to the resource and returns a byte array containing any response, without blocking the calling thread. |
The System.Net.UploadProgressChangedEventHandler is the delegate for this event. The System.Net.UploadProgressChangedEventArgs class provides the event handler with event data.
For more information about handling events, see Consuming Events.