QueryCollection.next Method

定义

重载

next()

Returns the next QueryCollectionResponse object. The query shall continue with the same page size and use the internally saved continuation token.

next(QueryOptions options)

Returns the next QueryCollectionResponse object. If the provided query options have a continuation token, the query shall continue from that token. The query shall use the page size set in the query options.

next()

Returns the next QueryCollectionResponse object. The query shall continue with the same page size and use the internally saved continuation token.

protected QueryCollectionResponse<String> next()
返回

The next QueryCollectionResponse object or null if there is not a next QueryCollectionResponse object

异常
IOException

If an IOException occurs when calling the Service API, or if the results of that call are unexpected

IotHubException

If an IotHubException occurs when calling the Service API

next(QueryOptions options)

Returns the next QueryCollectionResponse object. If the provided query options have a continuation token, the query shall continue from that token. The query shall use the page size set in the query options.

protected QueryCollectionResponse<String> next(QueryOptions options)
参数
options
QueryOptions

The options for the query

返回

The next QueryCollectionResponse object or null if there is no next QueryCollectionResponse object

异常
IOException

If an IOException occurs when calling the Service API, or if the results of that call are unexpected

IotHubException

If an IotHubException occurs when calling the Service API

适用于