Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WebClient.OpenReadCompleted Event

Occurs when an asynchronous resource-read operation is completed.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)
public event OpenReadCompletedEventHandler OpenReadCompleted

The OpenReadAsync methods retrieve the specified resource as a readable stream. The resource is downloaded asynchronously. When the download is completed, the OpenReadCompleted event is raised. The stream is available in the Result property of the OpenReadCompletedEventArgs.

If the AllowReadStreamBuffering property is true, then the OpenReadCompleted event is raised once the entire response stream has been received and buffered into memory. Otherwise, the OpenReadCompleted event is raised as soon as the response stream is available for reading even if all data has not yet arrived. These operations are started by calling one of the OpenReadAsync methods.

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

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.