AdomdErrorResponseException 類別

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.

繼承階層

System.Object
  System.Exception
    Microsoft.AnalysisServices.AdomdClient.AdomdException
      Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
<SerializableAttribute> _
Public NotInheritable Class AdomdErrorResponseException _
    Inherits AdomdException
'用途
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

AdomdErrorResponseException 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Data (繼承自 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. (覆寫 Exception.HelpLink。)
公用屬性 HResult (繼承自 Exception。)
公用屬性 InnerException (繼承自 Exception。)
公用屬性 Message Gets the value of the Message property from the first AdomdError in the Errors collection contained by the exception. (覆寫 Exception.Message。)
公用屬性 Source Gets the value of the Source property from the first AdomdError in the Errors collection contained by the exception. (覆寫 Exception.Source。)
公用屬性 StackTrace (繼承自 Exception。)
公用屬性 TargetSite (繼承自 Exception。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GetBaseException (繼承自 Exception。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetObjectData Sets the specified System.Runtime.Serialization.SerializationInfo with information about the exception. (覆寫 Exception.GetObjectData(SerializationInfo, StreamingContext)。)
公用方法 GetType (繼承自 Exception。)
公用方法 ToString (繼承自 Exception。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.AnalysisServices.AdomdClient 命名空間