WriteStreamClosedEventArgs.Error Property     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets the error value when a write stream is closed.
public:
 property Exception ^ Error { Exception ^ get(); };[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public Exception? Error { get; }[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public Exception Error { get; }[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.Error : ExceptionPublic ReadOnly Property Error As ExceptionProperty Value
Returns Exception.
- Attributes
Remarks
If the Error property is an Exception object, the asynchronous operation did not complete correctly.