Export (0) Print
Expand All

BindingDebugState.Error Property

Silverlight

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.

Silverlight

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

ADD
Show:
© 2014 Microsoft