Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WriteStreamClosed Event

WebClient.WriteStreamClosed Event

.NET Framework 4.6 and 4.5

Note: This API is now obsolete.

Occurs when an asynchronous operation to write data to a resource using a write stream is closed.

Namespace:  System.Net
Assembly:  System (in System.dll)

[ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", 
public event WriteStreamClosedEventHandler WriteStreamClosed

This event is raised each time an asynchronous operation used to write data to a resource using a write stream is closed. These operations result from calls to the OpenWriteTaskAsync methods.

The WriteStreamClosedEventHandler is the delegate for this event. The WriteStreamClosedEventArgs class provides the event handler with event data.

For more information about handling events, see Consuming Events.

.NET Framework

Obsolete (does not compile) in 4.5.2 and later

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
© 2015 Microsoft