言語

SqlExecutionException コンストラクター

定義

SqlExecutionException クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
SqlExecutionException()

既定値を使用して、 SqlExecutionException クラスの新しいインスタンスを初期化します。

SqlExecutionException(String)

渡されたメッセージを使用して、 SqlExecutionException クラスの新しいインスタンスを初期化します。

SqlExecutionException(String, Exception)

渡されたメッセージと例外を使用して、 SqlExecutionException クラスの新しいインスタンスを初期化します。

SqlExecutionException(String, String, String, String, String, SqlException)

SqlExecutionException クラスの新しいインスタンスを初期化します。

SqlExecutionException()

既定値を使用して、 SqlExecutionException クラスの新しいインスタンスを初期化します。

public:
 SqlExecutionException();
public SqlExecutionException();
Public Sub New ()

適用対象

SqlExecutionException(String)

渡されたメッセージを使用して、 SqlExecutionException クラスの新しいインスタンスを初期化します。

public:
 SqlExecutionException(System::String ^ message);
public SqlExecutionException(string message);
new System.Web.Management.SqlExecutionException : string -> System.Web.Management.SqlExecutionException
Public Sub New (message As String)

パラメーター

message
String

例外の理由を説明するエラー メッセージ。

適用対象

SqlExecutionException(String, Exception)

渡されたメッセージと例外を使用して、 SqlExecutionException クラスの新しいインスタンスを初期化します。

public:
 SqlExecutionException(System::String ^ message, Exception ^ innerException);
public SqlExecutionException(string message, Exception innerException);
new System.Web.Management.SqlExecutionException : string * Exception -> System.Web.Management.SqlExecutionException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

例外の理由を説明するエラー メッセージ。

innerException
Exception

Exceptionが発生しました。

適用対象

SqlExecutionException(String, String, String, String, String, SqlException)

SqlExecutionException クラスの新しいインスタンスを初期化します。

public:
 SqlExecutionException(System::String ^ message, System::String ^ server, System::String ^ database, System::String ^ sqlFile, System::String ^ commands, System::Data::SqlClient::SqlException ^ sqlException);
public SqlExecutionException(string message, string server, string database, string sqlFile, string commands, System.Data.SqlClient.SqlException sqlException);
new System.Web.Management.SqlExecutionException : string * string * string * string * string * System.Data.SqlClient.SqlException -> System.Web.Management.SqlExecutionException
Public Sub New (message As String, server As String, database As String, sqlFile As String, commands As String, sqlException As SqlException)

パラメーター

message
String

例外の理由を説明するエラー メッセージ。

server
String

SQL コマンドが実行されるSQL Server インスタンス。

database
String

SQL コマンドを実行する対象のデータベース。

sqlFile
String

実行されている SQL コマンドを含むインストール ファイルの名前。

commands
String

例外が発生したときに実行される SQL コマンド。

sqlException
SqlException

SQL コマンドの処理中に発生しました。

こちらもご覧ください

適用対象