CloudTable.ExecuteQuerySegmentedAsync Method (TableQuery, TableContinuationToken)

Windows Runtime Azure Storage Client Library

Executes a query asynchronously in segmented mode with the specified TableQuery query and TableContinuationToken continuation token.

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(Of T)
Dim token As TableContinuationToken
Dim returnValue As IAsyncOperation(Of TableQuerySegment(Of T))

returnValue = instance.ExecuteQuerySegmentedAsync(query, token)

Syntax

Visual Basic
Public Function ExecuteQuerySegmentedAsync(Of T As ITableEntity) ( _
	query As TableQuery(Of T), _
	token As TableContinuationToken _
) As IAsyncOperation(Of TableQuerySegment(Of T))
C#
public IAsyncOperation<TableQuerySegment<T>> ExecuteQuerySegmentedAsync<T> (
	TableQuery<T> query,
	TableContinuationToken token
) where T : ITableEntity
C++
public:
generic<typename T> where T : ITableEntity
IAsyncOperation<TableQuerySegment<T>^>^ ExecuteQuerySegmentedAsync (
	TableQuery<T>^ query, 
	TableContinuationToken^ token
)
J#
JScript

GenericParameters

T

The entity type of the query.

Parameters

table

The input CloudTable, which acts as the this instance for the extension method.

query

A TableQuery representing the query to execute.

token

A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.

Return Value

A TableQuerySegment object containing the results of executing the query.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also