語言

XamlParseException 類別

定義

當 XAML 解析器遇到 XAML 錯誤時會觸發的例外。

public ref class XamlParseException : Exception
[System.Serializable]
public class XamlParseException : Exception
[<System.Serializable>]
type XamlParseException = class
    inherit Exception
Public Class XamlParseException
Inherits Exception
繼承
XamlParseException
屬性

建構函式

名稱 Description
XamlParseException()

供 XAML 引擎內部使用。

XamlParseException(SerializationInfo, StreamingContext)
已淘汰.

供 XAML 引擎內部使用。

XamlParseException(String, Exception)

供 XAML 引擎內部使用。

XamlParseException(String, IXmlLineInfo, Exception)

供 XAML 引擎內部使用。

XamlParseException(String)

供 XAML 引擎內部使用。

屬性

名稱 Description
XmlInfo

取得導致異常的狀況行資訊。

適用於