QueryResponse<T> Class

Definition

An iterable set of queried items.

public class QueryResponse<T> : System.Collections.Generic.IEnumerable<T>
public class QueryResponse<T>
type QueryResponse<'T> = class
    interface seq<'T>
    interface IEnumerable
type QueryResponse<'T> = class
Public Class QueryResponse(Of T)
Implements IEnumerable(Of T)
Public Class QueryResponse(Of T)

Type Parameters

T

The type of the queried items. For instance, when using a query such as "SELECT * FROM devices", this type should be type ClientTwin. When using a query such as "SELECT * FROM devices.jobs", this type should be type ScheduledJob.

Inheritance
QueryResponse<T>
Implements

Constructors

QueryResponse<T>(IEnumerable<T>, String)

Instantiates a QueryResponse that represents the template class for the results of an IQuery request

Properties

ContinuationToken

Gets the continuation token to use for continuing the enumeration.

Current

Get the current item in the current page of the query results. Can be called multiple times without advancing the query.

CurrentPage

The current page of queried items.

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

MoveNextAsync(QueryOptions, CancellationToken)

Advances to the next element of the query results.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to