Warning Warning Warning Class

Definition

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

public ref class Warning
public class Warning
Public Class Warning
Inheritance
WarningWarningWarning

Remarks

A Warning object is returned as output by the CreateReport, CreateReportHistorySnapshot,Render, and SetReportDefinition methods.

Constructors

Warning() Warning() Warning()

Instantiates a new instance of a Warning class.

Properties

Code Code Code

Gets or sets the error code that is assigned to the warning by the report server.

Message Message Message

Gets or sets a message that describes the error or warning.

ObjectName ObjectName ObjectName

Gets or sets the name of an object in the report definition that contributed to the warning.

ObjectType ObjectType ObjectType

Gets or sets the severity type of the error or warning.

Severity Severity Severity

Gets or sets a message that describes the error or warning.

Applies to