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


Класс AdomdErrorResponseException

Represents an exception thrown by ADOMD.NET when a response is received from a provider which indicates an error. This exception contains a collection of AdomdError objects that contain information about each problem reported by the provider.

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

System.Object
  System.Exception
    Microsoft.AnalysisServices.AdomdClient.AdomdException
      Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException

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

Синтаксис

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

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

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство ErrorCode Gets the value of the ErrorCode property from the first AdomdError in the Errors collection contained by the AdomdErrorResponseException.
Открытое свойство Errors Gets a reference to the AdomdErrorCollection contained by the exception.
Открытое свойство HelpLink Gets the value of the HelpLink property from the first AdomdError in the Errors collection contained by the exception. (Переопределяет Exception.HelpLink.)
Открытое свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message Gets the value of the Message property from the first AdomdError in the Errors collection contained by the exception. (Переопределяет Exception.Message.)
Открытое свойство Source Gets the value of the Source property from the first AdomdError in the Errors collection contained by the exception. (Переопределяет Exception.Source.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData Sets the specified System.Runtime.Serialization.SerializationInfo with information about the exception. (Переопределяет Exception.GetObjectData(SerializationInfo, StreamingContext).)
Открытый метод GetType (Производный от Exception.)
Открытый метод ToString (Производный от Exception.)

В начало

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

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

См. также

Справочник

Пространство имен Microsoft.AnalysisServices.AdomdClient