Share via


ConnectionException 成員

The ConnectionException class is an exception that is raised when an error occurs on the connection to the instance of SQL Server.

ConnectionException 型別公開下列成員。

建構函式

  名稱 描述
公用方法 ConnectionException() () () () Initializes a new instance of the ConnectionException class.
公用方法 ConnectionException(String) Initializes a new instance of the ConnectionException class with the specified message text.
受保護的方法 ConnectionException(SerializationInfo, StreamingContext) Initializes a new instance of the ConnectionException class with the specified serialization information and streaming context.
公用方法 ConnectionException(String, Exception) Initializes a new instance of the ConnectionException class with the specified message text and inner exception.

頂端

方法

  名稱 描述
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetBaseException (繼承自 Exception。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetObjectData (繼承自 Exception。)
公用方法 GetType (繼承自 Exception。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Exception。)

頂端

屬性

  名稱 描述
公用屬性 Data (繼承自 Exception。)
公用屬性 HelpLink (繼承自 Exception。)
受保護的屬性 HResult (繼承自 Exception。)
公用屬性 InnerException (繼承自 Exception。)
公用屬性 Message (繼承自 Exception。)
公用屬性 Source (繼承自 Exception。)
公用屬性 StackTrace (繼承自 Exception。)
公用屬性 TargetSite (繼承自 Exception。)

頂端