Export (0) Print
Expand All

MultiBinding.UpdateSourceExceptionFilter Property

Gets or sets a handler you can use to provide custom logic for handling exceptions that the binding engine encounters during the update of the binding source value. This is only applicable if you have associated the ExceptionValidationRule with your MultiBinding object.

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

public UpdateSourceExceptionFilterCallback UpdateSourceExceptionFilter { get; set; }
You cannot set this property in XAML.

Property Value

Type: System.Windows.Data.UpdateSourceExceptionFilterCallback
A method that provides custom logic for handling exceptions that the binding engine encounters during the update of the binding source value.

The ExceptionValidationRule class represents a built-in validation rule that checks for exceptions that are thrown during the update of the binding source properties. If you have associated the ExceptionValidationRule object with your MultiBinding object, you can use this property to set a handler to provide custom logic for handling these exceptions.

For an example, see Binding.UpdateSourceExceptionFilter.

For more information about the validation process for MultiBinding objects, see the ValidationRules property.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft