AsyncPageable<T>.AsPages(String, Nullable<Int32>) Method

Definition

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
System.String

A continuation token indicating where to resume paging or null to begin paging from the beginning.

pageSizeHint
System.Nullable<System.Int32>

The size of Page<T>s that should be requested (from service operations that support it).

Returns

System.Collections.Generic.IAsyncEnumerable<Page<T>>

An async sequence of Page<T>s.

Applies to