Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.Data Namespace / DataSourceProvider Class / UnhandledException Event


In This Topic
    UnhandledException Event
    In This Topic
    Raised when an exception is thrown by the data source that is wrapped by the provider.
    Syntax
    'Declaration
     
    Public Event UnhandledException As EventHandler(Of UnhandledDataExceptionEventArgs)
    'Usage
     
    Dim instance As DataSourceProvider
    Dim handler As EventHandler(Of UnhandledDataExceptionEventArgs)
     
    AddHandler instance.UnhandledException, handler
    public event EventHandler<UnhandledDataExceptionEventArgs> UnhandledException
    Event Data

    The event handler receives an argument of type UnhandledDataExceptionEventArgs containing data related to this event. The following UnhandledDataExceptionEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the exception that was thrown by the data source that is wrapped by the provider.  
    Gets or sets a value indicating whether the event was handled.  
    Gets or sets the action to take when an exception is thrown from the data source.  
    Gets a value representing the number of attempts that were made to send the data queries.  
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also

    Reference

    DataSourceProvider Class
    DataSourceProvider Members
    DataGridControl.UnhandledDataException Event