Export (0) Print
Expand All

WebClient::WriteStreamClosed Event

.NET Framework 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(L"This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", 
 event WriteStreamClosedEventHandler^ WriteStreamClosed {
	void add (WriteStreamClosedEventHandler^ value);
	void remove (WriteStreamClosedEventHandler^ value);

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

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft