WebClient.OpenWriteCompleted Event

July 28, 2014

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft