SqlExecutionException 생성자

정의

SqlExecutionException 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
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

SqlException SQL 명령을 처리할 때 발생한 것입니다.

추가 정보

적용 대상