AsyncPageCollection<T>.GetAsyncEnumeratorCore(CancellationToken) Method

Definition

Get an async enumerator that can enumerate the pages of values returned by the cloud service.

protected abstract System.Collections.Generic.IAsyncEnumerator<System.ClientModel.PageResult<T>> GetAsyncEnumeratorCore (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsyncEnumeratorCore : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerator<System.ClientModel.PageResult<'T>>
Protected MustOverride Function GetAsyncEnumeratorCore (Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerator(Of PageResult(Of T))

Parameters

cancellationToken
CancellationToken

Returns

An async enumerator of pages holding the items in the value collection.

Applies to