The following tables list the members exposed by AsyncVirtualDataSourceProviderWorker.
| Name | Description | |
|---|---|---|
|  | AsyncVirtualDataSourceProviderWorker Constructor | Constructs an AsyncVirtualDataSourceProviderWorker | 
| Name | Description | |
|---|---|---|
|  | InitialRetryDelay | The initial delay to retry a failing task. | 
|  | MaxRetryDelay | The maximum delay to retry a failing task. | 
|  | MaxSimultaneousExecutingTasks | The maximum number of simultaneously execution tasks that is permitted. | 
|  | SyncLock | A synchronization lock to use serialize access to state. | 
| Name | Description | |
|---|---|---|
|  | IsRunning | Gets or sets whether the worker is currently running or not. | 
|  | IsShutdown | Gets or sets whether the worker has been shut down. | 
| Name | Description | |
|---|---|---|
|  | ActualCount | Gets or sets the actual current full count of the records associated with the data provider. | 
|  | ActualPageSize | Gets or sets the coerced page size that consumers of the data provider should respect. | 
|  | ActualSchema | Gets or sets the current resolved IDataSourceSchema for the provider. | 
|  | BatchCompleted | Gets a callback to invoke when a batch request has completed. | 
|  | ExecutionContext | Gets the execution context to synchronize with when reporting on loaded pages. | 
|  | PageLoaded | Gets a callback to invoke when a page request has finished loading. | 
|  | PopulatedActualPageSize | Gets or sets whether ActualPageSize has been populated with a coerced value and should be retained, regardless as to whether non-full pages are seen. | 
|  | Tasks | Gets the currently active set of requests for the worker. | 
| Name | Description | |
|---|---|---|
|  | AddPageRequest | Adds a new page request to the worker. | 
|  | AddPageRequestWithRetry | Adds a page request with the specified retry delay. | 
|  | CreateBatchRequest | Create a batch request with the provided changes. | 
|  | RemoveAllPageRequests | Removes all pending or active page requests from the worker. | 
|  | RemovePageRequest | Removes a page request with the specifiec index from the worker. | 
|  | Shutdown | Causes the worker to shut down its operation. Worker should not be reused once entered into this state. | 
| Name | Description | |
|---|---|---|
|  | AwaitChanges | Called by the worker to perform a timed wait for changes to occur. | 
|  | CheckAndPotentiallyWaitOnTasks | Checks the status of the current tasks, and if possible, yields until changes occur to the active tasks or the worker settings. | 
|  | DoWork | The main loop for the worker. | 
|  | GetCompletedTaskData | Populates the implementation specific data for the specified completed task. | 
|  | GetTaskDataHolder | Override to provide the implementation specific data holder for the tasks. | 
|  | GetTasksData | Override to populate the implementation specific data for the tasks. | 
|  | Initialize | Called when the worker is initializing itself before starting the work loop. Override to add additional initialization before the work loop starts. | 
|  | IsLastPage | Returns true if the provided index represents the last page of the data. | 
|  | MakeTaskForRequest | Orverride to specify how a task gets constructed for a request. | 
|  | ProcessCompletedTask | Override to specify how a completed task is handled. This should call the PageLoaded callback, synchronizing with the ExecutionContext, if a page has been successfully loaded. | 
|  | RemoveCompletedTaskData | Override to specify how implementation specific data gets removed for a completed task. | 
|  | RetryIndex | Retries a request with the requested delay. | 
|  | SignalChangesOcurred | Called to indicate that something changed that should immediately wake the worker to further process the active requests. |