SqlTypeException 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
SqlTypeException 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| SqlTypeException() |
SqlTypeException 클래스의 새 인스턴스를 초기화합니다. |
| SqlTypeException(String) |
지정된 오류 메시지를 사용하여 클래스의 SqlTypeException 새 인스턴스를 초기화합니다. |
| SqlTypeException(SerializationInfo, StreamingContext) |
직렬화된 데이터를 사용하여 클래스의 새 인스턴스를 SqlTypeException 초기화합니다. |
| SqlTypeException(String, Exception) |
지정된 오류 메시지와 이 예외의 SqlTypeException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다. |
SqlTypeException()
SqlTypeException 클래스의 새 인스턴스를 초기화합니다.
public:
SqlTypeException();
public SqlTypeException();
Public Sub New ()
적용 대상
SqlTypeException(String)
지정된 오류 메시지를 사용하여 클래스의 SqlTypeException 새 인스턴스를 초기화합니다.
public:
SqlTypeException(System::String ^ message);
public SqlTypeException(string message);
new System.Data.SqlTypes.SqlTypeException : string -> System.Data.SqlTypes.SqlTypeException
Public Sub New (message As String)
매개 변수
- message
- String
예외의 이유를 설명하는 오류 메시지입니다.
적용 대상
SqlTypeException(SerializationInfo, StreamingContext)
직렬화된 데이터를 사용하여 클래스의 새 인스턴스를 SqlTypeException 초기화합니다.
protected:
SqlTypeException(System::Runtime::Serialization::SerializationInfo ^ si, System::Runtime::Serialization::StreamingContext sc);
protected SqlTypeException(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext sc);
new System.Data.SqlTypes.SqlTypeException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.SqlTypes.SqlTypeException
Protected Sub New (si As SerializationInfo, sc As StreamingContext)
매개 변수
serialize된 개체 데이터를 보유하는 개체입니다.
원본 또는 대상에 대한 컨텍스트 정보입니다.
설명
이 생성자는 역직렬화 중에 호출되어 스트림을 통해 전송되는 예외 개체를 다시 구성합니다. 자세한 내용은 XML 및 SOAP Serialization을 참조하세요.
추가 정보
적용 대상
SqlTypeException(String, Exception)
지정된 오류 메시지와 이 예외의 SqlTypeException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다.
public:
SqlTypeException(System::String ^ message, Exception ^ e);
public SqlTypeException(string message, Exception e);
new System.Data.SqlTypes.SqlTypeException : string * Exception -> System.Data.SqlTypes.SqlTypeException
Public Sub New (message As String, e As Exception)
매개 변수
- message
- String
예외를 설명하는 메시지입니다. 이 문자열이 현재 시스템 문화권에 맞게 지역화되었는지 확인하려면 이 생성자의 호출자가 필요합니다.
현재 예외의 원인인 예외입니다. 매개 변수가 innerException 아닌 null경우 내부 예외를 catch 처리하는 블록에서 현재 예외가 발생합니다.