RegistryManager.getJob(String jobId) 方法

定义

Get the properties of an existing job.

public JobProperties getJob(String jobId)

参数

jobId
String

The id of the job to be retrieved.

返回

A JobProperties object for the requested job id

例外

IllegalArgumentException

This exception is thrown if the jobId parameter is null

IOException

This exception is thrown if the IO operation failed

IotHubException

This exception is thrown if the response verification failed

适用于