CollectionResult<T>.GetValuesFromPage(ClientResult) Method
Definition
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.
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
Azure SDK for .NET