Share via


Query.NextAsync Method

Definition

Overloads

NextAsync()

Return the next page of result for the query.

NextAsync(String)

Return the next page of result for the query using a new continuationToken.

NextAsync()

Return the next page of result for the query.

public System.Threading.Tasks.Task<Microsoft.Azure.Devices.Provisioning.Service.QueryResult> NextAsync ();
member this.NextAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Provisioning.Service.QueryResult>
Public Function NextAsync () As Task(Of QueryResult)

Returns

The QueryResult with the next page of items for the query.

Exceptions

If the query does no have more pages to return.

Applies to

NextAsync(String)

Return the next page of result for the query using a new continuationToken.

public System.Threading.Tasks.Task<Microsoft.Azure.Devices.Provisioning.Service.QueryResult> NextAsync (string continuationToken);
member this.NextAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Provisioning.Service.QueryResult>
Public Function NextAsync (continuationToken As String) As Task(Of QueryResult)

Parameters

continuationToken
String

the string with the previous continuationToken. It cannot be null or empty.

Returns

The QueryResult with the next page of items for the query.

Exceptions

If the query does no have more pages to return.

Applies to