Classe Warning
Represents a list of errors or warnings that are returned when a report is rendered or processed.
Hierarquia de herança
Object
Microsoft.Reporting.WebForms.Warning
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)
Sintaxe
'Declaração
Public NotInheritable Class Warning
public sealed class Warning
public ref class Warning sealed
[<Sealed>]
type Warning = class end
public final class Warning
O tipo Warning expõe os membros a seguir.
Propriedades
Nome | Descrição | |
---|---|---|
Code | Gets the error code that is assigned to the warning. Read-only. | |
Message | Gets a message that describes the error or warning. Read-only. | |
ObjectName | Gets the name of the object in the report definition that contributed to the warning. Read-only. | |
ObjectType | Gets the type of object in the report definition that caused the error or warning. Read-only. | |
Severity | Gets the severity type of the error or warning. Read-only. |
Superior
Métodos
Nome | Descrição | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Herdado de Object.) | |
GetHashCode | Serves as the default hash function. (Herdado de Object.) | |
GetType | Gets the Type of the current instance. (Herdado de Object.) | |
ToString | Returns a string that represents the current object. (Herdado de Object.) |
Superior
Comentários
An array of Warning objects is returned by the Render and RenderStream methods of the LocalReport and ServerReport classes.
Acesso thread-safe
Quaisquer membros estático (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.