Skip to main content

BindingChainException Class

Definition

Namespace:Avalonia.Data
Assembly:Avalonia.Base
Package:Avalonia

An exception returned through Avalonia.Data.BindingNotification signaling that a requested binding expression could not be evaluated because of an error in one of the links of the binding chain.

public class BindingChainException

Inheritance: Exception -> BindingChainException

Constructors

NameDescription
BindingChainException (3 overloads)Initializes a new instance of the Avalonia.Data.BindingChainException class.

BindingChainException overloads

BindingChainException Constructor

Initializes a new instance of the Avalonia.Data.BindingChainException class.

public BindingChainException()

BindingChainException Constructor

Initializes a new instance of the Avalonia.Data.BindingChainException class.

public BindingChainException(string message)
Parameters

message string

The error message.

BindingChainException Constructor

Initializes a new instance of the Avalonia.Data.BindingChainException class.

public BindingChainException(string message, string expression, string errorPoint)
Parameters

message string

The error message.

expression string

The expression.

errorPoint string

The point in the expression at which the error was encountered.

Properties

NameDescription
ExpressionGets the expression that could not be evaluated.
ExpressionErrorPointGets the point in the expression at which the error occurred.
MessageNo summary available.

Expression Property

Gets the expression that could not be evaluated.

public string Expression { get; set; }

ExpressionErrorPoint Property

Gets the point in the expression at which the error occurred.

public string ExpressionErrorPoint { get; set; }

Message Property

public string Message { get; set; }