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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

ReportService2010 命名空间