.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)
Syntax

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
Remarks

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.

Platforms

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

See Also

Reference

Tags :


Page view tracker