Share via


XamlParseException Constructors

Definition

Overloads

XamlParseException()

For internal use by the XAML engine.

XamlParseException(String)

For internal use by the XAML engine.

XamlParseException(SerializationInfo, StreamingContext)
Obsolete.

For internal use by the XAML engine.

XamlParseException(String, Exception)

For internal use by the XAML engine.

XamlParseException(String, IXmlLineInfo, Exception)

For internal use by the XAML engine.

XamlParseException()

Source:
XamlParseException.cs
Source:
XamlParseException.cs

For internal use by the XAML engine.

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

Applies to

XamlParseException(String)

Source:
XamlParseException.cs
Source:
XamlParseException.cs

For internal use by the XAML engine.

public:
 XamlParseException(System::String ^ message);
public XamlParseException (string message);
new Microsoft.Maui.Controls.Xaml.XamlParseException : string -> Microsoft.Maui.Controls.Xaml.XamlParseException
Public Sub New (message As String)

Parameters

message
String

For internal use by the XAML engine.

Applies to

XamlParseException(SerializationInfo, StreamingContext)

Source:
XamlParseException.cs
Source:
XamlParseException.cs

Caution

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

For internal use by the XAML engine.

protected:
 XamlParseException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected XamlParseException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new Microsoft.Maui.Controls.Xaml.XamlParseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Maui.Controls.Xaml.XamlParseException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

For internal use by the XAML engine.

context
StreamingContext

For internal use by the XAML engine.

Attributes

Applies to

XamlParseException(String, Exception)

Source:
XamlParseException.cs
Source:
XamlParseException.cs

For internal use by the XAML engine.

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

Parameters

message
String

For internal use by the XAML engine.

innerException
Exception

For internal use by the XAML engine..

Applies to

XamlParseException(String, IXmlLineInfo, Exception)

Source:
XamlParseException.cs
Source:
XamlParseException.cs

For internal use by the XAML engine.

public XamlParseException (string message, System.Xml.IXmlLineInfo xmlInfo, Exception innerException = default);
new Microsoft.Maui.Controls.Xaml.XamlParseException : string * System.Xml.IXmlLineInfo * Exception -> Microsoft.Maui.Controls.Xaml.XamlParseException
Public Sub New (message As String, xmlInfo As IXmlLineInfo, Optional innerException As Exception = Nothing)

Parameters

message
String

For internal use by the XAML engine.

xmlInfo
IXmlLineInfo

For internal use by the XAML engine.

innerException
Exception

For internal use by the XAML engine.

Applies to