QueryClient Class

Definition

Subclient of IotHubServiceClient for executing queries using a SQL-like syntax.

public class QueryClient
type QueryClient = class
Public Class QueryClient
Inheritance
QueryClient

Constructors

QueryClient()

Creates an instance of this class. Provided for unit testing purposes only.

Methods

CreateAsync<T>(String, QueryOptions, CancellationToken)

Execute a query on your IoT hub and get an iterable set of the queried items.

CreateJobsQueryAsync(JobQueryOptions, CancellationToken)

Query all jobs or query jobs by type and/or status.

Applies to