本文整理匯總了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);
}