Warning 類別
Represents a list of errors or warnings that are returned when a report is published or processed.
繼承階層
System.Object
ReportService2010.Warning
命名空間: ReportService2010
組件: ReportService2010 (在 ReportService2010.dll 中)
語法
'宣告
<SerializableAttribute> _
Public Class Warning
'用途
Dim instance As Warning
[SerializableAttribute]
public class Warning
[SerializableAttribute]
public ref class Warning
[<SerializableAttribute>]
type Warning = class end
public class Warning
Warning 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
Warning | Initializes a new instance of the Warning class. |
上層
屬性
名稱 | 說明 | |
---|---|---|
Code | Gets or sets the error code assigned to the warning by the report server. | |
Message | Gets or sets a message that states the error or warning. | |
ObjectName | Gets or sets the name of the object in the report definition that contributed to the warning. | |
ObjectType | Gets or sets the object type of the error or warning. | |
Severity | Gets or sets the severity of the error or warning. |
上層
方法
名稱 | 說明 | |
---|---|---|
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
MemberwiseClone | (繼承自 Object。) | |
ToString | (繼承自 Object。) |
上層
備註
A Warning object is returned as output by the CreateCatalogItem(String, String, String, Boolean, array<Byte[], array<Property[], array<Warning[]%), CreateItemHistorySnapshot, and SetItemDefinition(String, Byte) methods.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。