SyntaxErrorException 생성자

정의

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

오버로드

SyntaxErrorException()

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

SyntaxErrorException(String)

지정된 문자열을 사용하여 SyntaxErrorException 클래스의 새 인스턴스를 초기화합니다.

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

SyntaxErrorExceptionSerializationInfo를 사용하여 StreamingContext 클래스의 새 인스턴스를 초기화합니다.

SyntaxErrorException(String, Exception)

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

SyntaxErrorException()

Source:
FilterException.cs
Source:
FilterException.cs
Source:
FilterException.cs

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

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

적용 대상

SyntaxErrorException(String)

Source:
FilterException.cs
Source:
FilterException.cs
Source:
FilterException.cs

지정된 문자열을 사용하여 SyntaxErrorException 클래스의 새 인스턴스를 초기화합니다.

public:
 SyntaxErrorException(System::String ^ s);
public SyntaxErrorException (string? s);
public SyntaxErrorException (string s);
new System.Data.SyntaxErrorException : string -> System.Data.SyntaxErrorException
Public Sub New (s As String)

매개 변수

s
String

예외가 throw되었을 때 표시할 문자열입니다.

적용 대상

SyntaxErrorException(SerializationInfo, StreamingContext)

Source:
FilterException.cs
Source:
FilterException.cs
Source:
FilterException.cs

주의

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

SyntaxErrorExceptionSerializationInfo를 사용하여 StreamingContext 클래스의 새 인스턴스를 초기화합니다.

protected:
 SyntaxErrorException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SyntaxErrorException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[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 SyntaxErrorException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Data.SyntaxErrorException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.SyntaxErrorException
[<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.SyntaxErrorException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.SyntaxErrorException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

매개 변수

info
SerializationInfo

개체를 직렬화하거나 역직렬화하는 데 필요한 데이터입니다.

context
StreamingContext

serialize된 특정 스트림의 소스와 대상입니다.

특성

적용 대상

SyntaxErrorException(String, Exception)

Source:
FilterException.cs
Source:
FilterException.cs
Source:
FilterException.cs

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

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

매개 변수

message
String

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

innerException
Exception

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

적용 대상