ConnectionException クラス
ConnectionException クラスは、SQL Server のインスタンスへの接続でエラーが起きたときに発生する例外です。
継承階層
System. . :: . .Object
System. . :: . .Exception
System. . :: . .SystemException
Microsoft.SqlServer.Management.Common..::..ConnectionException
詳細情報...
名前空間: Microsoft.SqlServer.Management.Common
アセンブリ: Microsoft.SqlServer.ConnectionInfo (Microsoft.SqlServer.ConnectionInfo.dll)
構文
'宣言
<SerializableAttribute> _
Public Class ConnectionException _
Inherits SystemException
'使用
Dim instance As ConnectionException
[SerializableAttribute]
public class ConnectionException : SystemException
[SerializableAttribute]
public ref class ConnectionException : public SystemException
[<SerializableAttribute>]
type ConnectionException =
class
inherit SystemException
end
public class ConnectionException extends SystemException
ConnectionException 型は、以下のメンバーを公開しています。
コンストラクター
| 名前 | 説明 | |
|---|---|---|
![]() |
ConnectionException() () () () | ConnectionException クラスの新しいインスタンスを初期化します。 |
![]() |
ConnectionException(String) | 指定されたメッセージ テキストを使用して、ConnectionException クラスの新しいインスタンスを初期化します。 |
![]() |
ConnectionException(SerializationInfo, StreamingContext) | 指定されたシリアル化情報とストリーム コンテキストを使用して、ConnectionException クラスの新しいインスタンスを初期化します。 |
![]() |
ConnectionException(String, Exception) | 指定されたメッセージ テキストと内部例外を使用して、ConnectionException クラスの新しいインスタンスを初期化します。 |
先頭に戻る
プロパティ
| 名前 | 説明 | |
|---|---|---|
![]() |
Data | (Exception から継承されています。) |
![]() |
HelpLink | (Exception から継承されています。) |
![]() |
HResult | (Exception から継承されています。) |
![]() |
InnerException | (Exception から継承されています。) |
![]() |
Message | (Exception から継承されています。) |
![]() |
Source | (Exception から継承されています。) |
![]() |
StackTrace | (Exception から継承されています。) |
![]() |
TargetSite | (Exception から継承されています。) |
先頭に戻る
メソッド
| 名前 | 説明 | |
|---|---|---|
![]() |
Equals | (Object から継承されています。) |
![]() |
Finalize | (Object から継承されています。) |
![]() |
GetBaseException | (Exception から継承されています。) |
![]() |
GetHashCode | (Object から継承されています。) |
![]() |
GetObjectData | (Exception から継承されています。) |
![]() |
GetType | (Exception から継承されています。) |
![]() |
MemberwiseClone | (Object から継承されています。) |
![]() |
ToString | (Exception から継承されています。) |
先頭に戻る
説明
スレッド セーフ
この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
スレッド セーフ
この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
継承階層
System. . :: . .Object
System. . :: . .Exception
System. . :: . .SystemException
Microsoft.SqlServer.Management.Common..::..ConnectionException
Microsoft.SqlServer.Management.Common. . :: . .ChangePasswordFailureException
Microsoft.SqlServer.Management.Common. . :: . .ConnectionCannotBeChangedException
Microsoft.SqlServer.Management.Common. . :: . .ConnectionFailureException
Microsoft.SqlServer.Management.Common. . :: . .DisconnectedConnectionException
Microsoft.SqlServer.Management.Common. . :: . .ExecutionFailureException
Microsoft.SqlServer.Management.Common. . :: . .InvalidArgumentException
Microsoft.SqlServer.Management.Common. . :: . .InvalidPropertyValueException
Microsoft.SqlServer.Management.Common. . :: . .NotInTransactionException
Microsoft.SqlServer.Management.Common. . :: . .PropertyNotAvailableException
Microsoft.SqlServer.Management.Common. . :: . .PropertyNotSetException
.gif)
.gif)
.gif)
.gif)