Compartilhar via


Classe Warning

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

Hierarquia de herança

System. . :: . .Object
  ReportExecution2005..::..Warning

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (em ReportExecution2005.dll)

Sintaxe

'Declaração
<SerializableAttribute> _
Public Class Warning
'Uso
Dim instance As Warning
[SerializableAttribute]
public class Warning
[SerializableAttribute]
public ref class Warning
[<SerializableAttribute>]
type Warning =  class end
public class Warning

O tipo Warning expõe os membros a seguir.

Construtores

  Nome Descrição
Método público Warning Initializes a new instance of the Warning class.

Início

Propriedades

  Nome Descrição
Propriedade pública Code Gets or sets the error code that is assigned to the warning by the report server. Read-only.
Propriedade pública Message Gets or sets a message that describes the error or warning. Read-only.
Propriedade pública ObjectName Gets or sets the name of the object in the report definition that contributed to the warning. Read-only.
Propriedade pública ObjectType Gets or sets the type of object in the report definition that caused the error or warning. Read-only.
Propriedade pública Severity Gets or sets the severity type of the error or warning. Read-only.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Comentários

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

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência