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)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public UpdateSourceExceptionFilterCallback UpdateSourceExceptionFilter { get; set; }
/** @property */
public UpdateSourceExceptionFilterCallback get_UpdateSourceExceptionFilter ()

/** @property */
public void set_UpdateSourceExceptionFilter (UpdateSourceExceptionFilterCallback value)

public function get UpdateSourceExceptionFilter () : UpdateSourceExceptionFilterCallback

public function set UpdateSourceExceptionFilter (value : UpdateSourceExceptionFilterCallback)

You cannot use this property in XAML.

Property Value

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft