共用方式為


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 對象,異步操作未正確完成。

適用於