AsyncPageable<T>.AsPages(String, Nullable<Int32>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerate the values a Page<T> at a time. This may make multiple service requests.
public abstract System.Collections.Generic.IAsyncEnumerable<Azure.Page<T>> AsPages (string? continuationToken = default, int? pageSizeHint = default);
abstract member AsPages : string * Nullable<int> -> System.Collections.Generic.IAsyncEnumerable<Azure.Page<'T>>
Public MustOverride Function AsPages (Optional continuationToken As String = Nothing, Optional pageSizeHint As Nullable(Of Integer) = Nothing) As IAsyncEnumerable(Of Page(Of T))
Parameters
- continuationToken
- String
A continuation token indicating where to resume paging or null to begin paging from the beginning.
The number of items per Page<T> that should be requested (from service operations that support it). It's not guaranteed that the value will be respected.
Returns
IAsyncEnumerable<Page<T>>
An async sequence of Page<T>s.