ReportErrorEventArgs 類別
提供 ReportError 事件的資料。
繼承階層架構
Object
EventArgs
Microsoft.Reporting.WinForms.ReportErrorEventArgs
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)
語法
'宣告
Public NotInheritable Class ReportErrorEventArgs _
Inherits EventArgs
public sealed class ReportErrorEventArgs : EventArgs
public ref class ReportErrorEventArgs sealed : public EventArgs
[<Sealed>]
type ReportErrorEventArgs =
class
inherit EventArgs
end
public final class ReportErrorEventArgs extends EventArgs
ReportErrorEventArgs 類型會公開下列成員。
屬性
名稱 | 描述 | |
---|---|---|
![]() |
Exception | 傳回包含報表錯誤相關資訊的 Exception 物件。 |
![]() |
Handled | 指出主應用程式是否已處理錯誤。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
![]() |
Equals | 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。 |
![]() |
GetHashCode | 做為預設雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 |
![]() |
ToString | 傳回代表目前物件的字串。 (繼承自 Object)。 |
回頁首
備註
當發生 ReportError 時,這會傳遞至 ReportErrorEventHandler。
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。