Compartir a través de


WebClient.UploadProgressChanged Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Occurs when an asynchronous upload operation successfully transfers some or all of the data.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)

Syntax

'Declaration
Public Event UploadProgressChanged As UploadProgressChangedEventHandler
public event UploadProgressChangedEventHandler UploadProgressChanged

Remarks

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.

Method

Description

UploadStringAsync

Sends a String to the resource, without blocking the calling thread.

Raising an event invokes the event handler through a delegate.

The UploadProgressChangedEventHandler is the delegate for this event. The UploadProgressChangedEventArgs class provides the event handler with event data.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.