Warning 類別
代表轉譯或處理報表時,所傳回的錯誤或警告清單。
繼承階層架構
Object
Microsoft.Reporting.WinForms.Warning
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)
語法
'宣告
Public NotInheritable Class Warning
public sealed class Warning
public ref class Warning sealed
[<Sealed>]
type Warning = class end
public final class Warning
Warning 類型會公開下列成員。
屬性
名稱 | 描述 | |
---|---|---|
![]() |
Code | 取得指派給警告的錯誤碼。唯讀。 |
![]() |
Message | 取得描述錯誤或警告的訊息。唯讀。 |
![]() |
ObjectName | 取得報表定義中提供給警告的物件名稱。唯讀。 |
![]() |
ObjectType | 取得報表定義中造成錯誤或警告的物件類型。唯讀。 |
![]() |
Severity | 取得錯誤或警告的嚴重性類型。唯讀。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
![]() |
Equals | 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。 |
![]() |
GetHashCode | 做為預設雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 |
![]() |
ToString | 傳回代表目前物件的字串。 (繼承自 Object)。 |
回頁首
備註
Warning 物件的陣列是 LocalReport 和 ServerReport 類別的 Render 和 RenderStream 方法所傳回。
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。