本文整理汇总了C#中Microsoft.WindowsAzure.Storage.Table.TableQuery.ExecuteQuerySegmentedAsync方法的典型用法代码示例。如果您正苦于以下问题:C# TableQuery.ExecuteQuerySegmentedAsync方法的具体用法?C# TableQuery.ExecuteQuerySegmentedAsync怎么用?C# TableQuery.ExecuteQuerySegmentedAsync使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Microsoft.WindowsAzure.Storage.Table.TableQuery
的用法示例。
在下文中一共展示了TableQuery.ExecuteQuerySegmentedAsync方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ExecuteQuerySegmentedAsync
/// <summary>
/// Executes a query in segmented mode with the specified <see cref="TableContinuationToken"/> continuation token, <see cref="TableRequestOptions"/>, and <see cref="OperationContext"/>.
/// </summary>
/// <param name="query">A <see cref="TableQuery"/> representing the query to execute.</param>
/// <param name="token">A <see cref="ResultContinuation"/> object representing a continuation token from the server when the operation returns a partial result.</param>
/// <param name="requestOptions">A <see cref="TableRequestOptions"/> object that specifies execution options, such as retry policy and timeout settings, for the operation.</param>
/// <param name="operationContext">An <see cref="OperationContext"/> object for tracking the current operation.</param>
/// <returns>A <see cref="TableQuerySegment"/> object containing the results of executing the query.</returns>
public IAsyncOperation<TableQuerySegment> ExecuteQuerySegmentedAsync(TableQuery query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext)
{
CommonUtility.AssertNotNull("query", query);
return query.ExecuteQuerySegmentedAsync(token, this.ServiceClient, this.Name, requestOptions, operationContext);
}
示例2: ExecuteQuerySegmentedAsync
internal Task<TableQuerySegment> ExecuteQuerySegmentedAsync(string tableName, TableQuery query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
{
CommonUtility.AssertNotNull("query", query);
return query.ExecuteQuerySegmentedAsync(token, this, tableName, requestOptions, operationContext, cancellationToken);
}
示例3: ExecuteQuerySegmentedAsync
internal IAsyncOperation<TableQuerySegment> ExecuteQuerySegmentedAsync(string tableName, TableQuery query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext)
{
CommonUtils.AssertNotNull("query", query);
return query.ExecuteQuerySegmentedAsync(token, this, tableName, requestOptions, operationContext);
}