Table of Contents

Delegate UpdateSourceExceptionFilterCallback

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

called whenever any exception is encountered when trying to update the value to the source. The application author can provide its own handler for handling exceptions here. If the delegate returns null - dont throw an error or provide a ValidationError. Exception - returns the exception itself, we will fire the exception using Async exception model. ValidationError - it will set itself as the BindingInError and add it to the elements Validation errors.

public delegate object UpdateSourceExceptionFilterCallback(object bindExpression, Exception exception)

Parameters

bindExpression object
called whenever any exception is encountered when trying to update the value to the source. The application author can provide its own handler for handling exceptions here. If the delegate returns null - dont throw an error or provide a ValidationError. Exception - returns the exception itself, we will fire the exception using Async exception model. ValidationError - it will set itself as the BindingInError and add it to the elements Validation errors.
exception Exception
called whenever any exception is encountered when trying to update the value to the source. The application author can provide its own handler for handling exceptions here. If the delegate returns null - dont throw an error or provide a ValidationError. Exception - returns the exception itself, we will fire the exception using Async exception model. ValidationError - it will set itself as the BindingInError and add it to the elements Validation errors.

Returns

object
called whenever any exception is encountered when trying to update the value to the source. The application author can provide its own handler for handling exceptions here. If the delegate returns null - dont throw an error or provide a ValidationError. Exception - returns the exception itself, we will fire the exception using Async exception model. ValidationError - it will set itself as the BindingInError and add it to the elements Validation errors.