XamlParseException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
XamlParseException() |
Initializes a new instance of the XamlParseException class with default values. |
XamlParseException(String) |
Initializes a new instance of the XamlParseException class with a specified error message. |
XamlParseException(String, Exception) |
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()
Initializes a new instance of the XamlParseException class with default values.
public:
XamlParseException();
public XamlParseException ();
Public Sub New ()
Applies to
XamlParseException(String)
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)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
XamlParseException(String, Exception)
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)
Parameters
- message
- String
The error message that explains the reason for the exception.
- innerException
- Exception
The exception that is the cause of the current exception, or null
if no inner exception is specified.