Warning Class

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

Inheritance Hierarchy


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


<SerializableAttribute> _
Public Class Warning
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.


  Name Description
Public method Warning Initializes a new instance of the Warning class.



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



  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.)



A Warning object is returned as output by the CreateCatalogItem(String, String, String, Boolean, array<Byte[], array<Property[], array<Warning[]%), CreateItemHistorySnapshot, and SetItemDefinition(String, array<Byte[]) 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