XamlException 생성자

정의

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

오버로드

XamlException()

XamlException 클래스의 새 인스턴스를 초기화합니다. 인스턴스는 오류를 설명하는 시스템 제공 메시지를 포함합니다.

XamlException(String)

XamlException 클래스의 새 인스턴스를 초기화합니다. 인스턴스는 오류를 설명하는 지정된 메시지를 포함합니다.

XamlException(SerializationInfo, StreamingContext)

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

XamlException(String, Exception)

XamlException 클래스의 새 인스턴스를 초기화합니다. 인스턴스에는 지정된 오류 메시지와 이 예외의 원인인 내부 예외에 대한 참조가 포함됩니다.

XamlException(String, Exception, Int32, Int32)

XamlException 클래스의 새 인스턴스를 초기화합니다. 인스턴스는 지정된 오류 메시지, 내부 예외 및 줄 정보를 포함합니다.

XamlException()

XamlException 클래스의 새 인스턴스를 초기화합니다. 인스턴스는 오류를 설명하는 시스템 제공 메시지를 포함합니다.

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

적용 대상

XamlException(String)

XamlException 클래스의 새 인스턴스를 초기화합니다. 인스턴스는 오류를 설명하는 지정된 메시지를 포함합니다.

public:
 XamlException(System::String ^ message);
public XamlException (string message);
new System.Xaml.XamlException : string -> System.Xaml.XamlException
Public Sub New (message As String)

매개 변수

message
String

예외를 설명하는 메시지입니다. 이 생성자의 호출자는 이 문자열이 현재 시스템 문화권에 따라 지역화되었는지 확인해야 합니다.

적용 대상

XamlException(SerializationInfo, StreamingContext)

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

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

매개 변수

info
SerializationInfo

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

context
StreamingContext

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

예외

info이(가) null인 경우

적용 대상

XamlException(String, Exception)

XamlException 클래스의 새 인스턴스를 초기화합니다. 인스턴스에는 지정된 오류 메시지와 이 예외의 원인인 내부 예외에 대한 참조가 포함됩니다.

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

매개 변수

message
String

예외를 설명하는 메시지입니다. 이 생성자의 호출자는 이 문자열이 현재 시스템 문화권에 따라 지역화되었는지 확인해야 합니다.

innerException
Exception

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

설명

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

적용 대상

XamlException(String, Exception, Int32, Int32)

XamlException 클래스의 새 인스턴스를 초기화합니다. 인스턴스는 지정된 오류 메시지, 내부 예외 및 줄 정보를 포함합니다.

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

매개 변수

message
String

예외를 설명하는 메시지입니다. 이 생성자의 호출자는 이 문자열이 현재 시스템 문화권에 따라 지역화되었는지 확인해야 합니다.

innerException
Exception

현재 예외의 원인인 예외입니다.

lineNumber
Int32

디버깅 또는 줄 정보 소비자에 보고할 줄 번호입니다.

linePosition
Int32

디버깅 또는 줄 정보 소비자에 보고할 줄 위치입니다.

적용 대상