XamlParseException Construtores

Definição

Sobrecargas

XamlParseException()

Inicializa uma nova instância da classe XamlParseException com valores padrão.Initializes a new instance of the XamlParseException class with default values.

XamlParseException(String)

Inicializa uma nova instância da classe XamlParseException com uma mensagem de erro especificada.Initializes a new instance of the XamlParseException class with a specified error message.

XamlParseException(String, Exception)

Inicializa uma nova instância da classe XamlParseException com uma mensagem de erro especificada e uma referência à exceção interna que é a causa da exceção.Initializes a new instance of the XamlParseException class with a specified error message and a reference to the inner exception that is the cause of this exception.

XamlParseException()

Inicializa uma nova instância da classe XamlParseException com valores padrão.Initializes a new instance of the XamlParseException class with default values.

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

Aplica-se a

XamlParseException(String)

Inicializa uma nova instância da classe XamlParseException com uma mensagem de erro especificada.Initializes a new instance of the XamlParseException class with a specified error message.

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

Parâmetros

message
String

A mensagem de erro que explica a razão da exceção.The error message that explains the reason for the exception.

Aplica-se a

XamlParseException(String, Exception)

Inicializa uma nova instância da classe XamlParseException com uma mensagem de erro especificada e uma referência à exceção interna que é a causa da exceção.Initializes a new instance of the XamlParseException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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

Parâmetros

message
String

A mensagem de erro que explica a razão da exceção.The error message that explains the reason for the exception.

innerException
Exception

A exceção que é a causa da exceção atual ou null, se nenhuma exceção interna for especificada.The exception that is the cause of the current exception, or null if no inner exception is specified.

Aplica-se a