'Declaration Protected MustOverride Function GetPageAsync( _ ByVal startingIndex As Integer, _ ByVal pageToken As String, _ Optional ByVal count As Nullable(Of Integer), _ Optional ByVal sortDescriptions As IReadOnlyList(Of SortDescription), _ Optional ByVal filterExpression As FilterExpression, _ Optional ByVal cancellationToken As CancellationToken _ ) As Task(Of Tuple(Of K,IReadOnlyList(Of T)))
protected abstract Task<Tuple<K,IReadOnlyList<T>>> GetPageAsync( int startingIndex, string pageToken, Nullable<int> count, IReadOnlyList<SortDescription> sortDescriptions, FilterExpression filterExpression, CancellationToken cancellationToken )
Parameters
- startingIndex
- The index where the returned items will be inserted.
- pageToken
- The token of the requesting page, pass null if no pages had been requested so far.
- count
- The desired number of items to be returned.
- sortDescriptions
- The sort descriptions.
- filterExpression
- The filter expression.
- cancellationToken
- Cancellation token.
Return Value
A tuple containing the items and a token to the next page.