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


Класс AdomdError

Represents a server or provider-specific error.

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

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdClient..::..AdomdError

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

Синтаксис

'Декларация
<SerializableAttribute> _
Public NotInheritable Class AdomdError
'Применение
Dim instance As AdomdError
[SerializableAttribute]
public sealed class AdomdError
[SerializableAttribute]
public ref class AdomdError sealed
[<SealedAttribute>]
[<SerializableAttribute>]
type AdomdError =  class end
public final class AdomdError

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

Свойства

  Имя Описание
Открытое свойство ErrorCode Gets the error code of the AdomdError.
Открытое свойство HelpLink Gets a link to the Help file associated with the AdomdError.
Открытое свойство Location Gets the AdomdErrorLocation describing the location of the error.
Открытое свойство Message Gets the error message of the AdomdError.
Открытое свойство Source Gets the name of the application or object that caused the error associated with the AdomdError.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString Returns a String that represents the current Object. (Переопределяет Object. . :: . .ToString() () () ().)

В начало

Замечания

The AdomdError represents an XML for Analysis error received or raised by the provider during the execution of a statement or query. The properties of the AdomdError map directly to the subelements of the Error element in the XML for Analysis 1.1 specification, as described in the following table.

AdomdError property name

XML for Analysis error subelement name

ErrorCode

ErrorCode

HelpLink

HelpFile

Message

Description

Source

Source

Location

Location

The AdomdError objects themselves are not directly raised in ADOMD.NET. Instead, they are contained within the Errors property of an AdomdErrorResponseException.

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

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