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