CollectionResult<T>.GetValuesFromPage(ClientResult) Method

Definition

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

protected abstract System.Collections.Generic.IEnumerable<T> GetValuesFromPage (System.ClientModel.ClientResult page);
abstract member GetValuesFromPage : System.ClientModel.ClientResult -> seq<'T>
Protected MustOverride Function GetValuesFromPage (page As ClientResult) As IEnumerable(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

CollectionResult<T> implementations are expected to store the CancellationToken passed to the service method that creates them and pass that token to any methods making service calls that are called from this method.

Applies to