WriteStreamClosed Event

WebClient.WriteStreamClosed Event

.NET Framework (current version)
 
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.", 
	true)]
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 NIB: Consuming Events.

.NET Framework
Available since 4.5
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft