corelibraries-devexpress-dot-data-dot-virtualservermoderowseventargs-d1b6cfe7.md
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.v25.2.dll
NuGet Package : DevExpress.Data
public object UserData { get; set; }
Public Property UserData As Object
| Type | Description |
|---|---|
| Object |
Any custom data.
|
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.
See Also
VirtualServerModeRowsEventArgs Class