CosmosPage<T>(IReadOnlyList<T>, String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从用户查询返回的单个结果页;可用于对长结果集进行分页。 返回者 ToPageAsync<TSource>(IQueryable<TSource>, Int32, String, Nullable<Int32>, CancellationToken)。
public CosmosPage(System.Collections.Generic.IReadOnlyList<T> values, string? continuationToken);
new Microsoft.EntityFrameworkCore.CosmosPage<'T> : System.Collections.Generic.IReadOnlyList<'T> * string -> Microsoft.EntityFrameworkCore.CosmosPage<'T>
Public Sub New (values As IReadOnlyList(Of T), continuationToken As String)
参数
- values
- IReadOnlyList<T>
此页面中包含的值。
- continuationToken
- String
用于从查询中提取进一步结果的延续标记。 如果没有更多结果,则为 null 或为空。