All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DataSourceFillErrorEventArgs.Handled Property

Gets or sets whether the FillError event has been handled.

Namespace: DevExpress.DataAccess

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public bool Handled { get; set; }
Public Property Handled As Boolean

Property Value

Type Description
Boolean

true, if the FillError event has been handled; otherwise, false.

Remarks

Set this property to true to specify that the FillError exception has been handled.

Examples

The code sample below creates a new data source, handles the FillError event to to process exceptions, and tries to populate the data source with data.

using DevExpress.DataAccess.Json;
// ...
// Create a new JSON source.
var jsonSource = new UriJsonSource() {
    Uri = new Uri(@"https://invalid.json")
};
// Assign the JSON source to the data source.
var datasource = new JsonDataSource() {
    JsonSource = jsonSource
};
dataSource.FillError += (s, e) => {
    e.Handled = true;
    // Add code that handles the data source fill error here.
};
See Also