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 | |
---|---|---|
Data | (Inherited from 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. (Overrides Exception.HelpLink.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | Gets the value of the Message property from the first AdomdError in the Errors collection contained by the exception. (Overrides Exception.Message.) | |
Source | Gets the value of the Source property from the first AdomdError in the Errors collection contained by the exception. (Overrides Exception.Source.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Sets the specified System.Runtime.Serialization.SerializationInfo with information about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
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.