Udostępnij za pośrednictwem


Warning Class

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

Inheritance Hierarchy

System.Object
  ReportService2005.Warning

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

Syntax

'Declaration
Public Class Warning
'Usage
Dim instance As Warning
public class Warning
public ref class Warning
type Warning =  class end
public class Warning

The Warning type exposes the following members.

Constructors

  Name Description
Public method Warning Instantiates a new instance of a Warning class.

Top

Properties

  Name Description
Public property Code Gets or sets the error code that is assigned to the warning by the report server.
Public property Message Gets or sets a message that describes the error or warning.
Public property ObjectName Gets or sets the name of an object in the report definition that contributed to the warning.
Public property ObjectType Gets or sets the severity type of the error or warning.
Public property Severity Gets or sets a message that describes the error or warning.

Top

Methods

  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

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ReportService2005 Namespace