Redigera

Dela via


WriteStreamClosedEventArgs.Error Property

Definition

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

Property Value

Returns Exception.

Attributes

Remarks

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

Applies to