VirtualServerModeRowsEventArgs.RowsTask Property

Gets or sets the task that returns requested rows.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v20.1.dll

Declaration

public Task<VirtualServerModeRowsTaskResult> RowsTask { get; set; }
Public Property RowsTask As Task(Of VirtualServerModeRowsTaskResult)

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