Share via


Classe Warning

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

Hiérarchie d'héritage

System. . :: . .Object
  ReportService2010..::..Warning

Espace de noms :  ReportService2010
Assembly :  ReportService2010 (en ReportService2010.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
Méthode publique Warning Initializes a new instance of the Warning class.

Haut de la page

Propriétés

  Nom Description
Propriété publique Code Gets or sets the error code assigned to the warning by the report server.
Propriété publique Message Gets or sets a message that states the error or warning.
Propriété publique ObjectName Gets or sets the name of the object in the report definition that contributed to the warning.
Propriété publique ObjectType Gets or sets the object type of the error or warning.
Propriété publique Severity Gets or sets the severity of the error or warning.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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.

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.

Voir aussi

Référence