WriteStreamClosedEventArgs.Error Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 ReadOnly Property Error As Exception

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