AdomdErrorResponseException Class

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.

Inheritance Hierarchy

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

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class AdomdErrorResponseException _
    Inherits AdomdException
'Usage
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

The AdomdErrorResponseException type exposes the following members.

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode Gets the value of the ErrorCode property from the first AdomdError in the Errors collection contained by the AdomdErrorResponseException.
Public property Errors Gets a reference to the AdomdErrorCollection contained by the exception.
Public property HelpLink Gets the value of the HelpLink property from the first AdomdError in the Errors collection contained by the exception. (Overrides Exception.HelpLink.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message Gets the value of the Message property from the first AdomdError in the Errors collection contained by the exception. (Overrides Exception.Message.)
Public property Source Gets the value of the Source property from the first AdomdError in the Errors collection contained by the exception. (Overrides Exception.Source.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Sets the specified System.Runtime.Serialization.SerializationInfo with information about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.