Megosztás a következőn keresztül:


JobClient.CreateQuery Method

Definition

Overloads

CreateQuery(Nullable<JobType>, Nullable<JobStatus>, Nullable<Int32>)

Get IQuery through which job responses for specified jobType and jobStatus are retrieved page by page, and specify page size

CreateQuery(Nullable<JobType>, Nullable<JobStatus>)

Get IQuery through which job responses for specified jobType and jobStatus are retrieved page by page

CreateQuery()

Get IQuery through which job responses for all job types and statuses are retrieved page by page

CreateQuery(Nullable<Int32>)

Get IQuery through which job responses are retrieved page by page and specify page size

CreateQuery(Nullable<JobType>, Nullable<JobStatus>, Nullable<Int32>)

Get IQuery through which job responses for specified jobType and jobStatus are retrieved page by page, and specify page size

public virtual Microsoft.Azure.Devices.IQuery CreateQuery (Microsoft.Azure.Devices.JobType? jobType, Microsoft.Azure.Devices.JobStatus? jobStatus, int? pageSize);
abstract member CreateQuery : Nullable<Microsoft.Azure.Devices.JobType> * Nullable<Microsoft.Azure.Devices.JobStatus> * Nullable<int> -> Microsoft.Azure.Devices.IQuery
override this.CreateQuery : Nullable<Microsoft.Azure.Devices.JobType> * Nullable<Microsoft.Azure.Devices.JobStatus> * Nullable<int> -> Microsoft.Azure.Devices.IQuery
Public Overridable Function CreateQuery (jobType As Nullable(Of JobType), jobStatus As Nullable(Of JobStatus), pageSize As Nullable(Of Integer)) As IQuery

Parameters

jobType
Nullable<JobType>

The job type to query. Could be null if not querying.

jobStatus
Nullable<JobStatus>

The job status to query. Could be null if not querying.

pageSize
Nullable<Int32>

Number of job responses in a page

Returns

A query object to get results and next pages.

Applies to

CreateQuery(Nullable<JobType>, Nullable<JobStatus>)

Get IQuery through which job responses for specified jobType and jobStatus are retrieved page by page

public virtual Microsoft.Azure.Devices.IQuery CreateQuery (Microsoft.Azure.Devices.JobType? jobType, Microsoft.Azure.Devices.JobStatus? jobStatus);
abstract member CreateQuery : Nullable<Microsoft.Azure.Devices.JobType> * Nullable<Microsoft.Azure.Devices.JobStatus> -> Microsoft.Azure.Devices.IQuery
override this.CreateQuery : Nullable<Microsoft.Azure.Devices.JobType> * Nullable<Microsoft.Azure.Devices.JobStatus> -> Microsoft.Azure.Devices.IQuery
Public Overridable Function CreateQuery (jobType As Nullable(Of JobType), jobStatus As Nullable(Of JobStatus)) As IQuery

Parameters

jobType
Nullable<JobType>

The job type to query. Could be null if not querying.

jobStatus
Nullable<JobStatus>

The job status to query. Could be null if not querying.

Returns

A query object to get results and next pages.

Applies to

CreateQuery()

Get IQuery through which job responses for all job types and statuses are retrieved page by page

public virtual Microsoft.Azure.Devices.IQuery CreateQuery ();
abstract member CreateQuery : unit -> Microsoft.Azure.Devices.IQuery
override this.CreateQuery : unit -> Microsoft.Azure.Devices.IQuery
Public Overridable Function CreateQuery () As IQuery

Returns

A query object to get results and next pages.

Applies to

CreateQuery(Nullable<Int32>)

Get IQuery through which job responses are retrieved page by page and specify page size

public virtual Microsoft.Azure.Devices.IQuery CreateQuery (int? pageSize);
abstract member CreateQuery : Nullable<int> -> Microsoft.Azure.Devices.IQuery
override this.CreateQuery : Nullable<int> -> Microsoft.Azure.Devices.IQuery
Public Overridable Function CreateQuery (pageSize As Nullable(Of Integer)) As IQuery

Parameters

pageSize
Nullable<Int32>

Number of job responses in a page

Returns

A query object to get results and next pages.

Applies to