BindingDebugState.Error Property

Gets the error associated with the binding, if one is present.

Namespace:  System.Windows.Data.Debugging
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Property Error As Object
public Object Error { get; internal set; }

Property Value

Type: System.Object
The error associated with the binding, or nulla null reference (Nothing in Visual Basic) if there is no error.

Remarks

If there is an error present, then the ToString method of the returned object should be an appropriate error message. For example, if an Exception occurred during part of the binding pipeline (such as value conversion), then the value of this property is the Exception object. If the property path failed to resolve (or some other non-exception-based error occurred), then the value of this property is a string error message.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.