Class XamlException
Inheritance
System.Object
System.Exception
XamlException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: System.Xaml
Assembly: OpenSilver.Xaml.dll
Syntax
public class XamlException : Exception, ISerializable
Constructors
| Improve this Doc View SourceXamlException()
Declaration
public XamlException()
XamlException(SerializationInfo, StreamingContext)
Declaration
protected XamlException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
XamlException(String)
Declaration
public XamlException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
XamlException(String, Exception)
Declaration
public XamlException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |
XamlException(String, Exception, Int32, Int32)
Declaration
public XamlException(string message, Exception innerException, int lineNumber, int linePosition)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException | |
System.Int32 | lineNumber | |
System.Int32 | linePosition |
Properties
| Improve this Doc View SourceLineNumber
Declaration
public int LineNumber { get; protected set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LinePosition
Declaration
public int LinePosition { get; protected set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Message
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
System.Exception.Message
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Implements
System.Runtime.Serialization.ISerializable