你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AsyncCollectionResult<T>.GetValuesFromPageAsync(ClientResult) Method

Definition

Gets a collection of the values returned in a page response.

protected abstract System.Collections.Generic.IAsyncEnumerable<T> GetValuesFromPageAsync (System.ClientModel.ClientResult page);
abstract member GetValuesFromPageAsync : System.ClientModel.ClientResult -> System.Collections.Generic.IAsyncEnumerable<'T>
Protected MustOverride Function GetValuesFromPageAsync (page As ClientResult) As IAsyncEnumerable(Of T)

Parameters

page
ClientResult

The service response to obtain the values from.

Returns

A collection of T values read from the response content in page.

Remarks

This method does not take a CancellationToken parameter. AsyncCollectionResult<T> implementations must store the CancellationToken passed to the service method that creates them and pass that token to any async methods called from this method.

Applies to