SqlTypeException 생성자

정의

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

오버로드

SqlTypeException()

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

SqlTypeException(String)

지정된 오류 메시지를 사용하여 SqlTypeException 클래스의 새 인스턴스를 초기화합니다.

SqlTypeException(SerializationInfo, StreamingContext)
사용되지 않음.

serialize된 데이터를 사용하여 SqlTypeException 클래스의 새 인스턴스를 초기화합니다.

SqlTypeException(String, Exception)

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

SqlTypeException()

Source:
SQLUtility.cs
Source:
SQLUtility.cs
Source:
SQLUtility.cs

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

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

적용 대상

SqlTypeException(String)

Source:
SQLUtility.cs
Source:
SQLUtility.cs
Source:
SQLUtility.cs

지정된 오류 메시지를 사용하여 SqlTypeException 클래스의 새 인스턴스를 초기화합니다.

public:
 SqlTypeException(System::String ^ message);
public SqlTypeException (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)

Source:
SQLUtility.cs
Source:
SQLUtility.cs
Source:
SQLUtility.cs

주의

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

serialize된 데이터를 사용하여 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);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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)

매개 변수

si
SerializationInfo

serialize된 개체 데이터를 보유하는 개체입니다.

sc
StreamingContext

원본 또는 대상에 대한 컨텍스트 정보입니다.

특성

설명

이 생성자는 스트림을 통해 전송되는 예외 개체를 다시 구성하기 위해 역직렬화 중에 호출됩니다. 자세한 내용은 XML 및 SOAP Serialization합니다.

추가 정보

적용 대상

SqlTypeException(String, Exception)

Source:
SQLUtility.cs
Source:
SQLUtility.cs
Source:
SQLUtility.cs

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

public:
 SqlTypeException(System::String ^ message, Exception ^ e);
public SqlTypeException (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

예외를 설명하는 메시지입니다. 현재 시스템 culture에 대해 이 문자열이 지역화되었는지 확인하려면 이 생성자의 호출자가 필요합니다.

e
Exception

현재 예외의 원인인 예외입니다. innerException 매개 변수가 null이 아니면 현재 예외는 내부 예외를 처리하는 catch 블록에서 발생합니다.

적용 대상