Warning Class
Represents a list of errors or warnings that are returned when a report is rendered or processed.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Inheritance Hierarchy
System.Object
Microsoft.Reporting.WinForms.Warning
Syntax
public sealed class Warning
public ref class Warning sealed
[<Sealed>]
type Warning = class end
Public NotInheritable Class Warning
Properties
Name | Description | |
---|---|---|
Code | Gets the error code that is assigned to the warning. Read-only. |
|
Message | Gets a message that describes the error or warning. Read-only. |
|
ObjectName | Gets the name of the object in the report definition that contributed to the warning. Read-only. |
|
ObjectType | Gets the type of object in the report definition that caused the error or warning. Read-only. |
|
Severity | Gets the severity type of the error or warning. Read-only. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Remarks
An array of Warning objects is returned by the Render and RenderStream methods of the LocalReport and ServerReport classes.
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
Microsoft.Reporting.WinForms Namespace
Return to top