WebClient.OpenWriteCompleted Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)


Public Event OpenWriteCompleted As OpenWriteCompletedEventHandler
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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


WebClient Class

System.Net Namespace