Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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

Definition

Namespace:
Azure
Assembly:
Azure.Core.dll
Package:
Azure.Core v1.58.0
Source:
AsyncPageable.cs

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.

pageSizeHint
Nullable<Int32>

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

An async sequence of Page<T>s.

Applies to


Feedback

Was this page helpful?