Klasa Warning
Represents a list of errors or warnings that are returned when a report is rendered or processed.
Hierarchia dziedziczenia
Object
Microsoft.Reporting.WebForms.Warning
Przestrzeń nazw: Microsoft.Reporting.WebForms
Zestaw: Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)
Składnia
'Deklaracja
Public NotInheritable Class Warning
public sealed class Warning
public ref class Warning sealed
[<Sealed>]
type Warning = class end
public final class Warning
Typ Warning uwidacznia następujące elementy członkowskie.
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
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. |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Odziedziczone z Object). |
![]() |
GetHashCode | Serves as the default hash function. (Odziedziczone z Object). |
![]() |
GetType | Gets the Type of the current instance. (Odziedziczone z Object). |
![]() |
ToString | Returns a string that represents the current object. (Odziedziczone z Object). |
Początek
Uwagi
An array of Warning objects is returned by the Render and RenderStream methods of the LocalReport and ServerReport classes.
Bezpieczeństwo wątku
Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.