WriteStreamClosedEventArgs.Error Property

.NET Framework (current version)
Note: This API is now obsolete.

Gets the error value when 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 Exception Error { get; }

Property Value

Type: System.Exception

Returns Exception.

If the Error property is an Exception object, the asynchronous operation did not complete correctly.

.NET Framework
Available since 4.5
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top