QueryResponse<T> Class
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.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應