Επεξεργασία

Κοινή χρήση μέσω


XamlInternalException Constructors

Definition

Initializes a new instance of the XamlInternalException class.

Overloads

XamlInternalException()

Initializes a new instance of the XamlInternalException class with a system-supplied message that describes the error.

XamlInternalException(String)

Initializes a new instance of the XamlInternalException class with a specified message that describes the error.

XamlInternalException(SerializationInfo, StreamingContext)

Initializes a new instance of the XamlInternalException class with serialized data.

XamlInternalException(String, Exception)

Initializes a new instance of the XamlInternalException class with a specified error message and a reference to the inner exception that is the cause of this exception.

XamlInternalException()

Initializes a new instance of the XamlInternalException class with a system-supplied message that describes the error.

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

Applies to

XamlInternalException(String)

Initializes a new instance of the XamlInternalException class with a specified message that describes the error.

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

Parameters

message
String

The message that describes the exception.

Applies to

XamlInternalException(SerializationInfo, StreamingContext)

Initializes a new instance of the XamlInternalException class with serialized data.

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)

Parameters

info
SerializationInfo

The object that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

XamlInternalException(String, Exception)

Initializes a new instance of the XamlInternalException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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)

Parameters

message
String

The message that describes the exception.

innerException
Exception

The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

Applies to