Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Warning Class

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


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

public class Warning

The Warning type exposes the following members.

Public methodWarningInstantiates a new instance of a Warning class.

Public propertyCodeGets or sets the error code that is assigned to the warning by the report server.
Public propertyMessageGets or sets a message that describes the error or warning.
Public propertyObjectNameGets or sets the name of an object in the report definition that contributed to the warning.
Public propertyObjectTypeGets or sets the severity type of the error or warning.
Public propertySeverityGets or sets a message that describes the error or warning.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft