ConnectionException 類別
The exception that is thrown when a connection problem arises between the server and current application. This class cannot be inherited.
繼承階層
System.Object
System.Exception
Microsoft.AnalysisServices.AmoException
Microsoft.AnalysisServices.ConnectionException
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
<SerializableAttribute> _
Public NotInheritable Class ConnectionException _
Inherits AmoException
'用途
Dim instance As ConnectionException
[SerializableAttribute]
public sealed class ConnectionException : AmoException
[SerializableAttribute]
public ref class ConnectionException sealed : public AmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type ConnectionException =
class
inherit AmoException
end
public final class ConnectionException extends AmoException
ConnectionException 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
ConnectionException() | Initializes a new instance of the ConnectionException class. |
![]() |
ConnectionException(String) | Initializes a new instance of the ConnectionException class. |
![]() |
ConnectionException(String, Exception) | Initializes a new instance of the ConnectionException class. |
上層
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Data | (繼承自 Exception。) |
![]() |
ExceptionCause | Returns a ConnectionExceptionCause value to explain the origin of the exception. |
![]() |
HelpLink | (繼承自 Exception。) |
![]() |
HResult | (繼承自 Exception。) |
![]() |
InnerException | (繼承自 Exception。) |
![]() |
Message | (繼承自 Exception。) |
![]() |
Source | (繼承自 Exception。) |
![]() |
StackTrace | (繼承自 Exception。) |
![]() |
TargetSite | (繼承自 Exception。) |
上層
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | (繼承自 Object。) |
![]() |
GetBaseException | (繼承自 Exception。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetObjectData | Sets the [System.Runtime.Serialization.SerializationInfo] with information about the exception. (覆寫 Exception.GetObjectData(SerializationInfo, StreamingContext)。) |
![]() |
GetType | (繼承自 Exception。) |
![]() |
ToString | (繼承自 Exception。) |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。