VirtualServerModeRowsEventArgs.RowsTask Property
Gets or sets the task that returns requested rows.
Namespace: DevExpress.Data
Assembly: DevExpress.Data.v25.2.dll
NuGet Package: DevExpress.Data
Declaration
Property Value
| Type | Description |
|---|---|
| Task<VirtualServerModeRowsTaskResult> | A Task that returns requested rows. |
Remarks
To provide a batch of rows, create a Task<VirtualServerModeRowsTaskResult> that returns requested rows and assign it to the RowTask event parameter.
Tip
A Task typically executes asynchronously. To return a batch of rows synchronously, create the task with the Task.FromResult method (available in .NET Framework 4.5+).
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the RowsTask property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.