Udostępnij za pośrednictwem


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
Właściwość publiczna Code Gets the error code that is assigned to the warning. Read-only.
Właściwość publiczna Message Gets a message that describes the error or warning. Read-only.
Właściwość publiczna ObjectName Gets the name of the object in the report definition that contributed to the warning. Read-only.
Właściwość publiczna ObjectType Gets the type of object in the report definition that caused the error or warning. Read-only.
Właściwość publiczna Severity Gets the severity type of the error or warning. Read-only.

Początek

Metody

  Nazwa Opis
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetType Gets the Type of the current instance. (Odziedziczone z Object).
Metoda publiczna 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.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.Reporting.WebForms