SqlExecutionExceptionとは何? わかりやすく解説 Weblio辞書 (original) (raw)

SqlExecutionException クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

SQL 実行例外のクラスを System.Web.Management 名前空間定義します

名前空間: System.Web.Management
アセンブリ: System.Web (system.web.dll 内)
構文構文

解説解説

使用例使用例

SqlExecutionException 例外型を使用する方法次のコード例示します。このコード例は、SqlServices クラストピック取り上げているコード例一部分です。

Console.WriteLine( _ "An SQL execution exception occurred.") Console.WriteLine() Console.WriteLine(" Message: {0}", _ sqlExecutionException.Message) Console.WriteLine(" Server: {0}", _ sqlExecutionException.Server) Console.WriteLine(" Database: {0}", _ sqlExecutionException.Database) Console.WriteLine(" Commands: {0}", _ sqlExecutionException.Commands) Console.WriteLine(" SqlFile: {0}", _ sqlExecutionException.SqlFile) Console.WriteLine(" Inner Exception: {0}", _ sqlExecutionException.Exception)

Console.WriteLine( "An SQL execution exception occurred."); Console.WriteLine(); Console.WriteLine(" Message: {0}", sqlExecutionException.Message); Console.WriteLine(" Server: {0}", sqlExecutionException.Server); Console.WriteLine(" Database: {0}", sqlExecutionException.Database); Console.WriteLine(" Commands: {0}", sqlExecutionException.Commands); Console.WriteLine(" SqlFile: {0}", sqlExecutionException.SqlFile); Console.WriteLine(" Inner Exception: {0}", sqlExecutionException.Exception);

.NET Framework のセキュリティ.NET Frameworkセキュリティ

継承階層継承階層

System.Object
System.Exception
System.SystemException
System.Web.Management.SqlExecutionException

スレッド セーフスレッド セーフ

プラットフォームプラットフォーム

バージョン情報バージョン情報

参照参照


SqlExecutionException コンストラクタ ()


SqlExecutionException コンストラクタ (String, Exception)


SqlExecutionException コンストラクタ (String, String, String, String, String, SqlException)


SqlExecutionException コンストラクタ


SqlExecutionException コンストラクタ (String)


SqlExecutionException プロパティ


SqlExecutionException メソッド


SqlExecutionException メンバ