ConstraintException 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
ConstraintException 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| ConstraintException() |
ConstraintException 클래스의 새 인스턴스를 초기화합니다. 매개 변수가 없는 생성자입니다. |
| ConstraintException(String) |
지정된 문자열을 사용하여 클래스의 ConstraintException 새 인스턴스를 초기화합니다. |
| ConstraintException(SerializationInfo, StreamingContext) |
지정된 serialization 및 스트림 컨텍스트를 ConstraintException 사용하여 클래스의 새 인스턴스를 초기화합니다. |
| ConstraintException(String, Exception) |
지정된 문자열 및 내부 예외를 ConstraintException 사용하여 클래스의 새 인스턴스를 초기화합니다. |
ConstraintException()
ConstraintException 클래스의 새 인스턴스를 초기화합니다. 매개 변수가 없는 생성자입니다.
public:
ConstraintException();
public ConstraintException();
Public Sub New ()
적용 대상
ConstraintException(String)
지정된 문자열을 사용하여 클래스의 ConstraintException 새 인스턴스를 초기화합니다.
public:
ConstraintException(System::String ^ s);
public ConstraintException(string s);
new System.Data.ConstraintException : string -> System.Data.ConstraintException
Public Sub New (s As String)
매개 변수
- s
- String
예외가 throw되면 표시할 문자열입니다.
적용 대상
ConstraintException(SerializationInfo, StreamingContext)
지정된 serialization 및 스트림 컨텍스트를 ConstraintException 사용하여 클래스의 새 인스턴스를 초기화합니다.
protected:
ConstraintException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ConstraintException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Data.ConstraintException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.ConstraintException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
매개 변수
- info
- SerializationInfo
개체를 직렬화하거나 역직렬화하는 데 필요한 데이터입니다.
- context
- StreamingContext
지정된 serialize된 스트림의 원본 및 대상에 대한 설명입니다.
적용 대상
ConstraintException(String, Exception)
지정된 문자열 및 내부 예외를 ConstraintException 사용하여 클래스의 새 인스턴스를 초기화합니다.
public:
ConstraintException(System::String ^ message, Exception ^ innerException);
public ConstraintException(string message, Exception innerException);
new System.Data.ConstraintException : string * Exception -> System.Data.ConstraintException
Public Sub New (message As String, innerException As Exception)
매개 변수
- message
- String
예외가 throw되면 표시할 문자열입니다.
- innerException
- Exception
현재 예외를 Exception 발생시킨 인스턴스를 가져옵니다.