SqlExecutionException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy SqlExecutionException.

Przeciążenia

SqlExecutionException()

Inicjuje SqlExecutionException nowe wystąpienie klasy przy użyciu wartości domyślnych.

SqlExecutionException(String)

Inicjuje SqlExecutionException nowe wystąpienie klasy przy użyciu przekazanego komunikatu.

SqlExecutionException(String, Exception)

Inicjuje SqlExecutionException nowe wystąpienie klasy przy użyciu przekazanego komunikatu i wyjątku.

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

Inicjuje nowe wystąpienie klasy SqlExecutionException.

SqlExecutionException()

Inicjuje SqlExecutionException nowe wystąpienie klasy przy użyciu wartości domyślnych.

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

Dotyczy

SqlExecutionException(String)

Inicjuje SqlExecutionException nowe wystąpienie klasy przy użyciu przekazanego komunikatu.

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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

Dotyczy

SqlExecutionException(String, Exception)

Inicjuje SqlExecutionException nowe wystąpienie klasy przy użyciu przekazanego komunikatu i wyjątku.

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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

innerException
Exception

Napotkano Exception .

Dotyczy

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

Inicjuje nowe wystąpienie klasy 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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

server
String

Wystąpienie SQL Server, względem którego są uruchamiane polecenia SQL.

database
String

Baza danych, względem której są uruchamiane polecenia SQL.

sqlFile
String

Nazwa pliku instalacyjnego zawierającego uruchamiane polecenia SQL.

commands
String

Polecenia SQL są uruchamiane po wystąpieniu wyjątku.

sqlException
SqlException

Napotkano SqlException podczas przetwarzania poleceń SQL.

Zobacz też

Dotyczy