Skip to main content

VirtualServerModeRowsEventArgs.RowsTask Property

Gets or sets the task that returns requested rows.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public Task<VirtualServerModeRowsTaskResult> RowsTask { get; set; }

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+).

See Also