SqlExecutionException クラスとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SqlExecutionException クラスの意味・解説 

SqlExecutionException クラス

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

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

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

<SerializableAttribute> _
Public NotInheritable Class
 SqlExecutionException
    Inherits SystemException
Dim instance As SqlExecutionException
[SerializableAttribute] 
public sealed class SqlExecutionException :
 SystemException
[SerializableAttribute] 
public ref class SqlExecutionException sealed
 : public SystemException
/** @attribute SerializableAttribute() */ 
public final class SqlExecutionException extends
 SystemException
SerializableAttribute 
public final class SqlExecutionException extends
 SystemException
解説解説
使用例使用例

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
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlExecutionException メンバ
System.Web.Management 名前空間
SqlServices
SystemException
SqlException


このページでは「.NET Framework クラス ライブラリ リファレンス」からSqlExecutionException クラスを検索した結果を表示しています。
Weblioに収録されているすべての辞書からSqlExecutionException クラスを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からSqlExecutionException クラス を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「SqlExecutionException クラス」の関連用語

SqlExecutionException クラスのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SqlExecutionException クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS