DataQueryBaseTQueryGetReaderFromDataSourceAsync Method |
Asynchronously executes the current query over data source and returns it's results as an
IDataReader.
The method is effectively a wrapper around
GetReaderFromDataSource.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax protected virtual Task<IDataReader> GetReaderFromDataSourceAsync(
CancellationToken cancellationToken
)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type:
TaskIDataReaderReturns a task returning the data reader based on
GetReaderFromDataSource.
Remarks See Also