WriteStreamClosedEventArgs.Error 属性

定义

注意

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

获取关闭写入流时的错误值。

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

属性值

返回 Exception

属性

注解

Error如果 属性是 Exception 对象,则异步操作未正确完成。

适用于