This topic has not yet been rated - Rate this topic

Warning Class

Represents a list of errors or warnings that are returned when a report is published or processed.

System.Object
  ReportExecution2005.Warning

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)

public class Warning

The Warning type exposes the following members.

  Name Description
Public method Warning Initializes a new instance of the Warning class.
Top
  Name Description
Public property Code Gets or sets the error code that is assigned to the warning by the report server. Read-only.
Public property Message Gets or sets a message that describes the error or warning. Read-only.
Public property ObjectName Gets or sets the name of the object in the report definition that contributed to the warning. Read-only.
Public property ObjectType Gets or sets the type of object in the report definition that caused the error or warning. Read-only.
Public property Severity Gets or sets the severity type of the error or warning. Read-only.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top

A Warning object is returned as output by the CreateReport, CreateReportHistorySnapshot, Render, and SetReportDefinition methods.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ