CloudTable.ExecuteQuerySegmentedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ExecuteQuerySegmentedAsync(TableQuery, TableContinuationToken)
Initiates an asynchronous operation to perform a segmented query on a table.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>> ExecuteQuerySegmentedAsync (Microsoft.Azure.Cosmos.Table.TableQuery query, Microsoft.Azure.Cosmos.Table.TableContinuationToken token);
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.TableContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>>
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.TableContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>>
Public Overridable Function ExecuteQuerySegmentedAsync (query As TableQuery, token As TableContinuationToken) As Task(Of TableQuerySegment(Of DynamicTableEntity))
Parameters
- query
- TableQuery
A TableQuery representing the query to execute.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
Returns
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync(TableQuery, TableContinuationToken, CancellationToken)
Initiates an asynchronous operation to perform a segmented query on a table.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>> ExecuteQuerySegmentedAsync (Microsoft.Azure.Cosmos.Table.TableQuery query, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.TableContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>>
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.TableContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>>
Public Overridable Function ExecuteQuerySegmentedAsync (query As TableQuery, token As TableContinuationToken, cancellationToken As CancellationToken) As Task(Of TableQuerySegment(Of DynamicTableEntity))
Parameters
- query
- TableQuery
A TableQuery representing the query to execute.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext)
Initiates an asynchronous operation to perform a segmented query on a table.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>> ExecuteQuerySegmentedAsync (Microsoft.Azure.Cosmos.Table.TableQuery query, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>>
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>>
Public Overridable Function ExecuteQuerySegmentedAsync (query As TableQuery, token As TableContinuationToken, requestOptions As TableRequestOptions, operationContext As OperationContext) As Task(Of TableQuerySegment(Of DynamicTableEntity))
Parameters
- query
- TableQuery
A TableQuery representing the query to execute.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- requestOptions
- TableRequestOptions
A TableRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
Returns
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to perform a segmented query on a table.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>> ExecuteQuerySegmentedAsync (Microsoft.Azure.Cosmos.Table.TableQuery query, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>>
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<Microsoft.Azure.Cosmos.Table.DynamicTableEntity>>
Public Overridable Function ExecuteQuerySegmentedAsync (query As TableQuery, token As TableContinuationToken, requestOptions As TableRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of TableQuerySegment(Of DynamicTableEntity))
Parameters
- query
- TableQuery
A TableQuery representing the query to execute.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- requestOptions
- TableRequestOptions
A TableRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TElement,TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext)
Initiates an asynchronous operation to execute a query in segmented mode and apply the specified EntityResolver<T> to the results.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TElement,TResult> (Microsoft.Azure.Cosmos.Table.TableQuery<TElement> query, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext) where TElement : Microsoft.Azure.Cosmos.Table.ITableEntity, new();
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
Public Overridable Function ExecuteQuerySegmentedAsync(Of TElement As {ITableEntityNew}, TResult As {ITableEntityNew}) (query As TableQuery(Of TElement), resolver As EntityResolver(Of TResult), token As TableContinuationToken, requestOptions As TableRequestOptions, operationContext As OperationContext) As Task(Of TableQuerySegment(Of TResult))
Type Parameters
- TElement
The entity type of the query.
- TResult
The type into which the EntityResolver<T> will project the query results.
Parameters
- query
- TableQuery<TElement>
A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement
.
- resolver
- EntityResolver<TResult>
An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type TResult
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- requestOptions
- TableRequestOptions
A TableRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
Returns
A Task<TResult> object that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TElement,TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to execute a query in segmented mode and apply the specified EntityResolver<T> to the results.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TElement,TResult> (Microsoft.Azure.Cosmos.Table.TableQuery<TElement> query, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) where TElement : Microsoft.Azure.Cosmos.Table.ITableEntity, new();
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
Public Overridable Function ExecuteQuerySegmentedAsync(Of TElement As {ITableEntityNew}, TResult As {ITableEntityNew}) (query As TableQuery(Of TElement), resolver As EntityResolver(Of TResult), token As TableContinuationToken, requestOptions As TableRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of TableQuerySegment(Of TResult))
Type Parameters
- TElement
The entity type of the query.
- TResult
The type into which the EntityResolver<T> will project the query results.
Parameters
- query
- TableQuery<TElement>
A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement
.
- resolver
- EntityResolver<TResult>
An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type TResult
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- requestOptions
- TableRequestOptions
A TableRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TElement,TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken)
Initiates an asynchronous operation to execute a query in segmented mode and apply the specified EntityResolver<T> to the results.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TElement,TResult> (Microsoft.Azure.Cosmos.Table.TableQuery<TElement> query, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, Microsoft.Azure.Cosmos.Table.TableContinuationToken token) where TElement : Microsoft.Azure.Cosmos.Table.ITableEntity, new();
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
Public Overridable Function ExecuteQuerySegmentedAsync(Of TElement As {ITableEntityNew}, TResult As {ITableEntityNew}) (query As TableQuery(Of TElement), resolver As EntityResolver(Of TResult), token As TableContinuationToken) As Task(Of TableQuerySegment(Of TResult))
Type Parameters
- TElement
The entity type of the query.
- TResult
The type into which the EntityResolver<T> will project the query results.
Parameters
- query
- TableQuery<TElement>
A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement
.
- resolver
- EntityResolver<TResult>
An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type TResult
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
Returns
A Task<TResult> object that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TElement,TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken, CancellationToken)
Initiates an asynchronous operation to execute a query in segmented mode and apply the specified EntityResolver<T> to the results.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TElement,TResult> (Microsoft.Azure.Cosmos.Table.TableQuery<TElement> query, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, System.Threading.CancellationToken cancellationToken) where TElement : Microsoft.Azure.Cosmos.Table.ITableEntity, new();
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
Public Overridable Function ExecuteQuerySegmentedAsync(Of TElement As {ITableEntityNew}, TResult As {ITableEntityNew}) (query As TableQuery(Of TElement), resolver As EntityResolver(Of TResult), token As TableContinuationToken, cancellationToken As CancellationToken) As Task(Of TableQuerySegment(Of TResult))
Type Parameters
- TElement
The entity type of the query.
- TResult
The type into which the EntityResolver<T> will project the query results.
Parameters
- query
- TableQuery<TElement>
A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement
.
- resolver
- EntityResolver<TResult>
An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type TResult
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement>, TableContinuationToken, TableRequestOptions, OperationContext)
Initiates an asynchronous operation to query a table in segmented mode.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TElement>> ExecuteQuerySegmentedAsync<TElement> (Microsoft.Azure.Cosmos.Table.TableQuery<TElement> query, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext) where TElement : Microsoft.Azure.Cosmos.Table.ITableEntity, new();
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
Public Overridable Function ExecuteQuerySegmentedAsync(Of TElement As {ITableEntityNew}) (query As TableQuery(Of TElement), token As TableContinuationToken, requestOptions As TableRequestOptions, operationContext As OperationContext) As Task(Of TableQuerySegment(Of TElement))
Type Parameters
- TElement
The entity type of the query.
Parameters
- query
- TableQuery<TElement>
A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- requestOptions
- TableRequestOptions
A TableRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
Returns
A Task<TResult> object that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement>, TableContinuationToken, CancellationToken)
Initiates an asynchronous operation to query a table in segmented mode.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TElement>> ExecuteQuerySegmentedAsync<TElement> (Microsoft.Azure.Cosmos.Table.TableQuery<TElement> query, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, System.Threading.CancellationToken cancellationToken) where TElement : Microsoft.Azure.Cosmos.Table.ITableEntity, new();
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
Public Overridable Function ExecuteQuerySegmentedAsync(Of TElement As {ITableEntityNew}) (query As TableQuery(Of TElement), token As TableContinuationToken, cancellationToken As CancellationToken) As Task(Of TableQuerySegment(Of TElement))
Type Parameters
- TElement
The entity type of the query.
Parameters
- query
- TableQuery<TElement>
A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement>, TableContinuationToken)
Initiates an asynchronous operation to query a table in segmented mode.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TElement>> ExecuteQuerySegmentedAsync<TElement> (Microsoft.Azure.Cosmos.Table.TableQuery<TElement> query, Microsoft.Azure.Cosmos.Table.TableContinuationToken token) where TElement : Microsoft.Azure.Cosmos.Table.ITableEntity, new();
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.TableContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.TableContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
Public Overridable Function ExecuteQuerySegmentedAsync(Of TElement As {ITableEntityNew}) (query As TableQuery(Of TElement), token As TableContinuationToken) As Task(Of TableQuerySegment(Of TElement))
Type Parameters
- TElement
The entity type of the query.
Parameters
- query
- TableQuery<TElement>
A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
Returns
A Task<TResult> object that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement>, TableContinuationToken, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to query a table in segmented mode.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TElement>> ExecuteQuerySegmentedAsync<TElement> (Microsoft.Azure.Cosmos.Table.TableQuery<TElement> query, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) where TElement : Microsoft.Azure.Cosmos.Table.ITableEntity, new();
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery<'Element (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>> (requires 'Element :> Microsoft.Azure.Cosmos.Table.ITableEntity and 'Element : (new : unit -> 'Element))
Public Overridable Function ExecuteQuerySegmentedAsync(Of TElement As {ITableEntityNew}) (query As TableQuery(Of TElement), token As TableContinuationToken, requestOptions As TableRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of TableQuerySegment(Of TElement))
Type Parameters
- TElement
The entity type of the query.
Parameters
- query
- TableQuery<TElement>
A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- requestOptions
- TableRequestOptions
A TableRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken)
Initiates an asynchronous operation to execute a segmented query and apply the specified EntityResolver<T> to the result.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TResult> (Microsoft.Azure.Cosmos.Table.TableQuery query, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, Microsoft.Azure.Cosmos.Table.TableContinuationToken token);
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>>
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>>
Public Overridable Function ExecuteQuerySegmentedAsync(Of TResult) (query As TableQuery, resolver As EntityResolver(Of TResult), token As TableContinuationToken) As Task(Of TableQuerySegment(Of TResult))
Type Parameters
- TResult
The type into which the EntityResolver<T> will project the query results.
Parameters
- query
- TableQuery
A TableQuery instance specifying the table to query and the query parameters to use.
- resolver
- EntityResolver<TResult>
An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type TResult
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
Returns
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken, CancellationToken)
Initiates an asynchronous operation to execute a segmented query and apply the specified EntityResolver<T> to the result.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TResult> (Microsoft.Azure.Cosmos.Table.TableQuery query, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>>
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>>
Public Overridable Function ExecuteQuerySegmentedAsync(Of TResult) (query As TableQuery, resolver As EntityResolver(Of TResult), token As TableContinuationToken, cancellationToken As CancellationToken) As Task(Of TableQuerySegment(Of TResult))
Type Parameters
- TResult
The type into which the EntityResolver<T> will project the query results.
Parameters
- query
- TableQuery
A TableQuery instance specifying the table to query and the query parameters to use.
- resolver
- EntityResolver<TResult>
An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type TResult
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext)
Initiates an asynchronous operation to execute a segmented query and apply the specified EntityResolver<T> to the result.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TResult> (Microsoft.Azure.Cosmos.Table.TableQuery query, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>>
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>>
Public Overridable Function ExecuteQuerySegmentedAsync(Of TResult) (query As TableQuery, resolver As EntityResolver(Of TResult), token As TableContinuationToken, requestOptions As TableRequestOptions, operationContext As OperationContext) As Task(Of TableQuerySegment(Of TResult))
Type Parameters
- TResult
The type into which the EntityResolver<T> will project the query results.
Parameters
- query
- TableQuery
A TableQuery instance specifying the table to query and the query parameters to use.
- resolver
- EntityResolver<TResult>
An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type TResult
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- requestOptions
- TableRequestOptions
A TableRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
Returns
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
Applies to
ExecuteQuerySegmentedAsync<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to execute a segmented query and apply the specified EntityResolver<T> to the result.
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TResult> (Microsoft.Azure.Cosmos.Table.TableQuery query, Microsoft.Azure.Cosmos.Table.EntityResolver<TResult> resolver, Microsoft.Azure.Cosmos.Table.TableContinuationToken token, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>>
override this.ExecuteQuerySegmentedAsync : Microsoft.Azure.Cosmos.Table.TableQuery * Microsoft.Azure.Cosmos.Table.EntityResolver<'Result> * Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Result>>
Public Overridable Function ExecuteQuerySegmentedAsync(Of TResult) (query As TableQuery, resolver As EntityResolver(Of TResult), token As TableContinuationToken, requestOptions As TableRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of TableQuerySegment(Of TResult))
Type Parameters
- TResult
The type into which the EntityResolver<T> will project the query results.
Parameters
- query
- TableQuery
A TableQuery instance specifying the table to query and the query parameters to use.
- resolver
- EntityResolver<TResult>
An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type TResult
.
- token
- TableContinuationToken
A TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
- requestOptions
- TableRequestOptions
A TableRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.