EntitySqlException 생성자

정의

EntitySqlException의 새 인스턴스를 초기화합니다.

오버로드

Name Description
EntitySqlException()

EntitySqlException의 새 인스턴스를 초기화합니다.

EntitySqlException(String)

특수 오류 메시지를 사용하여 새 인스턴스 EntitySqlException 를 초기화합니다.

EntitySqlException(String, Exception)

지정된 오류 메시지와 이 예외의 EntitySqlException 원인인 내부 예외에 대한 참조를 사용하는 클래스의 새 인스턴스를 초기화합니다.

설명

코드 예외를 처리하는 방법에 대한 자세한 내용은 다음을 참조하세요 Exception.

EntitySqlException()

EntitySqlException의 새 인스턴스를 초기화합니다.

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

설명

코드 예외를 처리하는 방법에 대한 자세한 내용은 다음을 참조하세요 Exception.

적용 대상

EntitySqlException(String)

특수 오류 메시지를 사용하여 새 인스턴스 EntitySqlException 를 초기화합니다.

public:
 EntitySqlException(System::String ^ message);
public EntitySqlException(string message);
new System.Data.EntitySqlException : string -> System.Data.EntitySqlException
Public Sub New (message As String)

매개 변수

message
String

오류를 설명하는 메시지입니다.

설명

코드 예외를 처리하는 방법에 대한 자세한 내용은 다음을 참조하세요 Exception.

적용 대상

EntitySqlException(String, Exception)

지정된 오류 메시지와 이 예외의 EntitySqlException 원인인 내부 예외에 대한 참조를 사용하는 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

message
String

예외의 이유를 설명하는 오류 메시지입니다.

innerException
Exception

현재 예외를 발생시킨 예외이거나 내부 예외가 지정되지 않은 경우 null 참조(Visual Basic Nothing)입니다.

설명

코드 예외를 처리하는 방법에 대한 자세한 내용은 다음을 참조하세요 Exception.

적용 대상