Classe Warning
Represents a list of errors or warnings that is returned when a report is published or processed.
Hiérarchie d'héritage
System. . :: . .Object
ReportService2005..::..Warning
Espace de noms : ReportService2005
Assembly : ReportService2005 (en ReportService2005.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public Class Warning
'Utilisation
Dim instance As Warning
[SerializableAttribute]
public class Warning
[SerializableAttribute]
public ref class Warning
[<SerializableAttribute>]
type Warning = class end
public class Warning
Le type Warning expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
Warning | Instantiates a new instance of a Warning class. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Code | Gets or sets the error code that is assigned to the warning by the report server. | |
Message | Gets or sets a message that describes the error or warning. | |
ObjectName | Gets or sets the name of an object in the report definition that contributed to the warning. | |
ObjectType | Gets or sets the severity type of the error or warning. | |
Severity | Gets or sets a message that describes the error or warning. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
MemberwiseClone | (hérité de Object.) | |
ToString | (hérité de Object.) |
Haut de la page
Notes
A Warning object is returned as output by the CreateReport, CreateReportHistorySnapshot,Render, and SetReportDefinition methods.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.