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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。