Warning 类
Represents a list of errors or warnings that are returned when a report is published or processed.
继承层次结构
System. . :: . .Object
ReportExecution2005..::..Warning
命名空间: ReportExecution2005
程序集: ReportExecution2005(在 ReportExecution2005.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 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
Code | Gets or sets the error code that is assigned to the warning by the report server. Read-only. | |
Message | Gets or sets a message that describes the error or warning. Read-only. | |
ObjectName | Gets or sets the name of the object in the report definition that contributed to the warning. Read-only. | |
ObjectType | Gets or sets the type of object in the report definition that caused the error or warning. Read-only. | |
Severity | Gets or sets the severity type of the error or warning. Read-only. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
注释
A Warning object is returned as output by the CreateReport, CreateReportHistorySnapshot, Render, and SetReportDefinition methods.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。