Warning Class
Represents a list of errors or warnings that are returned when a report is published or processed.
Inheritance Hierarchy
System.Object
  ReportService2010.Warning
Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class Warning
'Usage
Dim instance As Warning
[SerializableAttribute]
public class Warning
[SerializableAttribute]
public ref class Warning
[<SerializableAttribute>]
type Warning =  class end
public class Warning
The Warning type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Code | Gets or sets the error code assigned to the warning by the report server. | 
| .gif) | Message | Gets or sets a message that states the error or warning. | 
| .gif) | ObjectName | Gets or sets the name of the object in the report definition that contributed to the warning. | 
| .gif) | ObjectType | Gets or sets the object type of the error or warning. | 
| .gif) | Severity | Gets or sets the severity of the error or warning. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | (Inherited from Object.) | 
| .gif) | Finalize | (Inherited from Object.) | 
| .gif) | GetHashCode | (Inherited from Object.) | 
| .gif) | GetType | (Inherited from Object.) | 
| .gif) | MemberwiseClone | (Inherited from Object.) | 
| .gif) | ToString | (Inherited from Object.) | 
Top
Remarks
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.