Clase AdomdError
Represents a server or provider-specific error.
Jerarquía de herencia
System.Object
Microsoft.AnalysisServices.AdomdClient.AdomdError
Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
Public NotInheritable Class AdomdError
'Uso
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
El tipo AdomdError expone los siguientes miembros.
Propiedades
Nombre | Descripción | |
---|---|---|
CallStack | Gets the call stack for the AdomdError. | |
ErrorCode | Gets the error code of the AdomdError. | |
HelpLink | Gets a link to the Help file associated with the AdomdError. | |
Location | Gets the AdomdErrorLocation describing the location of the error. | |
Message | Gets the error message of the AdomdError. | |
Source | Gets the name of the application or object that caused the error associated with the AdomdError. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
GetHashCode | (Se hereda de Object.) | |
GetType | (Se hereda de Object.) | |
ToString | Returns a String that represents the current Object. (Invalida Object.ToString().) |
Arriba
Comentarios
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.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.