CloudTable.ExecuteQuerySegmentedAsync Method (TableQuery, EntityResolver, TableContinuationToken, TableRequestOptions, OperationContext)
From Windows Runtime Azure Storage Client Library
| CloudTable.ExecuteQuerySegmentedAsync Method (TableQuery, EntityResolver, TableContinuationToken, TableRequestOptions, OperationContext) |
| See Also |
|
|
Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
| Visual Basic |
|---|
Dim instance As CloudTable Dim query As TableQuery Dim resolver As EntityResolver(Of TResult) Dim token As TableContinuationToken Dim requestOptions As TableRequestOptions Dim operationContext As OperationContext Dim returnValue As IAsyncOperation(Of TableQuerySegment(Of TResult)) returnValue = instance.ExecuteQuerySegmentedAsync(query, resolver, token, requestOptions, operationContext) |
Syntax
| Visual Basic |
|---|
Public Function ExecuteQuerySegmentedAsync(Of TResult) ( _ query As TableQuery, _ resolver As EntityResolver(Of TResult), _ token As TableContinuationToken, _ requestOptions As TableRequestOptions, _ operationContext As OperationContext _ ) As IAsyncOperation(Of TableQuerySegment(Of TResult)) |
| C# |
|---|
public IAsyncOperation<TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TResult> ( TableQuery query, EntityResolver<TResult> resolver, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext ) |
| C++ |
|---|
public: generic<typename TResult> IAsyncOperation<TableQuerySegment<TResult>^>^ ExecuteQuerySegmentedAsync ( TableQuery^ query, EntityResolver<TResult>^ resolver, TableContinuationToken^ token, TableRequestOptions^ requestOptions, OperationContext^ operationContext ) |
| J# |
|---|
| JScript |
|---|
GenericParameters
- TResult
The type into which the EntityResolver will project the query results.
Parameters
- table
The input CloudTable, which acts as the
thisinstance for the extension method.
- query
A TableQuery representing the query to execute.
- resolver
An EntityResolver instance which creates a projection of the table query result entities into the specified type
TResult.
- token
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- requestOptions
A TableRequestOptions object that specifies execution options, such as retry policy and timeout settings, for the operation.
- operationContext
An OperationContext object for tracking the current operation.
Return Value
A TableQuerySegment containing the projection into type TResult of the results of executing the query.