共用方式為


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

屬性

備註

若屬性 ErrorException 物件,則非同步操作未正確完成。

適用於