WriteStreamClosedEventArgs.Error 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 物件,則非同步操作未正確完成。