public class Job extends Object
| Modifier and Type | Method and Description |
|---|---|
JobResult |
cancel()
Cancel a current jod on the IoTHub
|
JobResult |
get()
Get the current job status on the iotHub.
|
String |
getJobId()
Getter for the JobId.
|
public JobResult get() throws IOException, IotHubException
IOException - if the function failed to get the status with the current job informationIotHubException - if the http request failedpublic JobResult cancel() throws IOException, IotHubException
IOException - if the function failed to cancel the job with the current job informationIotHubException - if the http request failedpublic String getJobId()
Copyright © 2017. All rights reserved.