Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

public Object Error { get; internal set; }

Property Value

Type: System.Object
The error associated with the binding, or null if there is no error.

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.


Supported in: 5

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

Community Additions

© 2015 Microsoft