Поделиться через


Класс Warning

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

Иерархия наследования

System.Object
  ReportService2006.Warning

Пространство имен:  ReportService2006
Сборка:  ReportService2006 (в ReportService2006.dll)

Синтаксис

'Декларация
Public Class Warning
'Применение
Dim instance As Warning
public class Warning
public ref class Warning
type Warning =  class end
public class Warning

Тип Warning обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод Warning Initializes a new instance of the Warning class.

В начало

Свойства

  Имя Описание
Открытое свойство Code Gets or sets the error code assigned to the warning by the report server.
Открытое свойство Message Gets or sets a message that states the error or warning.
Открытое свойство ObjectName Gets or sets the name of the object in the report definition that contributed to the warning.
Открытое свойство ObjectType Gets or sets the object type of the error or warning.
Открытое свойство Severity Gets or sets the severity of the error or warning.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Замечания

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

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен ReportService2006