VirtualServerModeRowsEventArgs.UserData Property
Read this parameter to get custom data passed from the previously called Task or ConfigurationChanged event handler. When handling the VirtualServerModeSource.ConfigurationChanged event, set the UserData event parameter to pass custom data to a subsequent VirtualServerModeSource.MoreRows event handler (unless you specify the RowsTask event parameter).
Namespace: DevExpress.Data
Assembly: DevExpress.Data.v24.1.dll
NuGet Package: DevExpress.Data
Declaration
Property Value
Type | Description |
---|---|
Object | Any custom data. |
Remarks
Your VirtualServerModeSource.MoreRows event handler typically creates a Task<VirtualServerModeRowsTaskResult> object to return requested rows (a VirtualServerModeSource.ConfigurationChanged event handler can optionally create this Task). To propagate custom data from a Task to a subsequent VirtualServerModeSource.MoreRows event call (and thus to a subsequent Task), set the current Task’s VirtualServerModeRowsTaskResult.UserData property.
When handling the VirtualServerModeSource.ConfigurationChanged event, if you do not create a Task, you can propagate custom data to a subsequent VirtualServerModeSource.MoreRows event call by specifying the event’s UserData property.