다음을 통해 공유


XamlParseException 생성자

정의

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

오버로드

Name Description
XamlParseException()

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

XamlParseException(String)

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

XamlParseException(SerializationInfo, StreamingContext)

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

XamlParseException(String, Exception)

지정된 예외 메시지 문자열 및 내부 예외를 XamlParseException 사용하여 클래스의 새 인스턴스를 초기화합니다.

XamlParseException(String, Int32, Int32)

지정된 예외 메시지 문자열과 줄의 XamlParseException 지정된 줄 번호 및 위치를 사용하여 클래스의 새 인스턴스를 초기화합니다.

XamlParseException(String, Int32, Int32, Exception)

지정된 예외 메시지, 내부 예외, 줄 번호 및 줄의 위치를 사용하여 클래스의 XamlParseException 새 인스턴스를 초기화합니다.

XamlParseException()

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

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

적용 대상

XamlParseException(String)

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

public:
 XamlParseException(System::String ^ message);
public XamlParseException(string message);
new System.Windows.Markup.XamlParseException : string -> System.Windows.Markup.XamlParseException
Public Sub New (message As String)

매개 변수

message
String

예외 메시지입니다.

적용 대상

XamlParseException(SerializationInfo, StreamingContext)

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

protected:
 XamlParseException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XamlParseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Windows.Markup.XamlParseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Windows.Markup.XamlParseException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

매개 변수

info
SerializationInfo

개체를 직렬화하거나 역직렬화하는 데 필요한 모든 정보를 포함합니다.

context
StreamingContext

직렬화된 스트림의 원본 및 대상입니다.

설명

이 생성자는 애플리케이션 도메인 또는 컴퓨터 경계에서 이 형식의 예외를 마샬링할 때 serialization에 사용됩니다.

적용 대상

XamlParseException(String, Exception)

지정된 예외 메시지 문자열 및 내부 예외를 XamlParseException 사용하여 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

message
String

예외 메시지입니다.

innerException
Exception

발생한 초기 예외입니다.

설명

이전 예외의 직접적인 결과로 throw된 예외에는 이전 예외에 대한 참조가 포함되어야 합니다. 속성 생성 InnerException 자에 전달 되는 동일한 값을 반환 하거나 null 속성 생성자에 내부 예외 값을 제공 하지 않는 경우 InnerException .

적용 대상

XamlParseException(String, Int32, Int32)

지정된 예외 메시지 문자열과 줄의 XamlParseException 지정된 줄 번호 및 위치를 사용하여 클래스의 새 인스턴스를 초기화합니다.

public:
 XamlParseException(System::String ^ message, int lineNumber, int linePosition);
public XamlParseException(string message, int lineNumber, int linePosition);
new System.Windows.Markup.XamlParseException : string * int * int -> System.Windows.Markup.XamlParseException
Public Sub New (message As String, lineNumber As Integer, linePosition As Integer)

매개 변수

message
String

예외 메시지입니다.

lineNumber
Int32

예외가 발생한 줄 번호입니다.

linePosition
Int32

예외가 발생한 줄의 위치입니다.

적용 대상

XamlParseException(String, Int32, Int32, Exception)

지정된 예외 메시지, 내부 예외, 줄 번호 및 줄의 위치를 사용하여 클래스의 XamlParseException 새 인스턴스를 초기화합니다.

public:
 XamlParseException(System::String ^ message, int lineNumber, int linePosition, Exception ^ innerException);
public XamlParseException(string message, int lineNumber, int linePosition, Exception innerException);
new System.Windows.Markup.XamlParseException : string * int * int * Exception -> System.Windows.Markup.XamlParseException
Public Sub New (message As String, lineNumber As Integer, linePosition As Integer, innerException As Exception)

매개 변수

message
String

예외 메시지입니다.

lineNumber
Int32

예외가 발생한 줄 번호입니다.

linePosition
Int32

예외가 발생한 줄의 위치입니다.

innerException
Exception

발생한 초기 예외입니다.

설명

이전 예외의 직접적인 결과로 throw된 예외에는 이전 예외에 대한 참조가 포함되어야 합니다. 속성 생성 InnerException 자에 전달 되는 동일한 값을 반환 하거나 null 속성 생성자에 내부 예외 값을 제공 하지 않는 경우 InnerException .

적용 대상