Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

AdomdError Class

 

Represents a server or provider-specific error.

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

System.Object
  Microsoft.AnalysisServices.AdomdClient.AdomdError

[SerializableAttribute]
public sealed class AdomdError

NameDescription
System_CAPS_pubpropertyCallStack

Gets the call stack for the AdomdError.

System_CAPS_pubpropertyErrorCode

Gets the error code of the AdomdError.

System_CAPS_pubpropertyHelpLink

Gets a link to the Help file associated with the AdomdError.

System_CAPS_pubpropertyLocation

Gets the AdomdErrorLocation describing the location of the error.

System_CAPS_pubpropertyMessage

Gets the error message of the AdomdError.

System_CAPS_pubpropertySource

Gets the name of the application or object that caused the error associated with the AdomdError.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a String that represents the current Object.(Overrides 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.

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

Return to top

Community Additions

Show:
© 2015 Microsoft