共用方式為


ScheduledJobsClient Class

Definition

Subclient of IotHubServiceClient for Scheduled jobs management.

public class ScheduledJobsClient
type ScheduledJobsClient = class
Public Class ScheduledJobsClient
Inheritance
ScheduledJobsClient

Constructors

ScheduledJobsClient()

Creates client, provided for unit testing purposes only.

Methods

CancelAsync(String, CancellationToken)

Cancels/deletes the job with the specified Id.

CreateQueryAsync(JobQueryOptions, CancellationToken)

Queries an iterable set of jobs for specified type and status.

GetAsync(String, CancellationToken)

Gets the job with the specified Id.

ScheduleDirectMethodAsync(String, DirectMethodServiceRequest, DateTimeOffset, ScheduledJobsOptions, CancellationToken)

Creates a new job to run a device method on one or multiple devices.

ScheduleTwinUpdateAsync(String, ClientTwin, DateTimeOffset, ScheduledJobsOptions, CancellationToken)

Creates a new job to update twin tags and desired properties on one or multiple devices.

Applies to