Freigeben über


AdomdError-Klasse

Represents a server or provider-specific error.

Vererbungshierarchie

System.Object
  Microsoft.AnalysisServices.AdomdClient.AdomdError

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

Syntax

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

Der AdomdError-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft CallStack Gets the call stack for the AdomdError.
Öffentliche Eigenschaft ErrorCode Gets the error code of the AdomdError.
Öffentliche Eigenschaft HelpLink Gets a link to the Help file associated with the AdomdError.
Öffentliche Eigenschaft Location Gets the AdomdErrorLocation describing the location of the error.
Öffentliche Eigenschaft Message Gets the error message of the AdomdError.
Öffentliche Eigenschaft Source Gets the name of the application or object that caused the error associated with the AdomdError.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString Returns a String that represents the current Object. (Überschreibt Object.ToString().)

Zum Anfang

Hinweise

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.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.AnalysisServices.AdomdClient-Namespace