Udostępnij za pośrednictwem


XamlInternalException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy XamlInternalException.

Przeciążenia

XamlInternalException()

Inicjuje XamlInternalException nowe wystąpienie klasy z komunikatem dostarczonym przez system, który opisuje błąd.

XamlInternalException(String)

Inicjuje XamlInternalException nowe wystąpienie klasy z określonym komunikatem opisujący błąd.

XamlInternalException(SerializationInfo, StreamingContext)

Inicjuje nowe wystąpienie klasy XamlInternalException z zserializowanymi danymi.

XamlInternalException(String, Exception)

Inicjuje nowe wystąpienie XamlInternalException klasy z określonym komunikatem o błędzie i odwołaniem do wyjątku wewnętrznego, który jest przyczyną tego wyjątku.

XamlInternalException()

Inicjuje XamlInternalException nowe wystąpienie klasy z komunikatem dostarczonym przez system, który opisuje błąd.

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

Dotyczy

XamlInternalException(String)

Inicjuje XamlInternalException nowe wystąpienie klasy z określonym komunikatem opisujący błąd.

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

Parametry

message
String

Komunikat opisujący wyjątek.

Dotyczy

XamlInternalException(SerializationInfo, StreamingContext)

Inicjuje nowe wystąpienie klasy XamlInternalException z zserializowanymi danymi.

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

Parametry

info
SerializationInfo

Obiekt zawierający dane serializowanego obiektu.

context
StreamingContext

Informacje kontekstowe dotyczące źródła lub miejsca docelowego.

Dotyczy

XamlInternalException(String, Exception)

Inicjuje nowe wystąpienie XamlInternalException klasy z określonym komunikatem o błędzie i odwołaniem do wyjątku wewnętrznego, który jest przyczyną tego wyjątku.

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

Parametry

message
String

Komunikat opisujący wyjątek.

innerException
Exception

Wyjątek będący przyczyną bieżącego wyjątku. innerException Jeśli parametr nie nulljest , bieżący wyjątek jest zgłaszany w catch bloku, który obsługuje wyjątek wewnętrzny.

Dotyczy