Condividi tramite


Classe AdomdError

Represents a server or provider-specific error.

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdClient..::..AdomdError

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public NotInheritable Class AdomdError
'Utilizzo
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

Nel tipo AdomdError sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica ErrorCode Gets the error code of the AdomdError.
Proprietà pubblica HelpLink Gets a link to the Help file associated with the AdomdError.
Proprietà pubblica Location Gets the AdomdErrorLocation describing the location of the error.
Proprietà pubblica Message Gets the error message of the AdomdError.
Proprietà pubblica Source Gets the name of the application or object that caused the error associated with the AdomdError.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Returns a String that represents the current Object. Esegue l'override di Object. . :: . .ToString() () () ().

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.