Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Silverlight
Silverlight 2
WebClient Class
WebClient Events
 OpenWriteCompleted Event

  Switch on low bandwidth view
.NET Framework Class Library for Silverlight
WebClient..::.OpenWriteCompleted Event

Occurs when an asynchronous operation to open a stream to write data to a resource completes.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)
Visual Basic (Declaration)
Public Event OpenWriteCompleted As OpenWriteCompletedEventHandler
Visual Basic (Usage)
Dim instance As WebClient
Dim handler As OpenWriteCompletedEventHandler

AddHandler instance.OpenWriteCompleted, handler
C#
public event OpenWriteCompletedEventHandler OpenWriteCompleted

This event is raised each time an asynchronous operation to open a stream that is used to send data to a resource completes. These operations are started by calling the OpenWriteAsync methods.

When the send is completed, the OpenWriteCompleted event is raised. The stream is available in the Result property of the OpenWriteCompletedEventArgs.

The OpenWriteCompletedEventHandler is the delegate for this event. The OpenWriteCompletedEventArgs class provides the event handler with event data.

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker