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
System_CAPS_pubproperty Code

Gets the error code that is assigned to the warning. Read-only.

System_CAPS_pubproperty Message

Gets a message that describes the error or warning. Read-only.

System_CAPS_pubproperty ObjectName

Gets the name of the object in the report definition that contributed to the warning. Read-only.

System_CAPS_pubproperty ObjectType

Gets the type of object in the report definition that caused the error or warning. Read-only.

System_CAPS_pubproperty Severity

Gets the severity type of the error or warning. Read-only.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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