JobClient.ScheduleDevicePropertyWriteAsync Method
Namespace: Microsoft.Azure.Devices
Assembly: Microsoft.Azure.Devices (in Microsoft.Azure.Devices.dll)
Overload List
| Name | Description | |
|---|---|---|
![]() |
ScheduleDevicePropertyWriteAsync(String, IEnumerable<String>, String, Object) | Schedules a Job to update the System defined Device Property value for a Device |
![]() |
ScheduleDevicePropertyWriteAsync(String, IEnumerable<String>, String, Object, CancellationToken) | Schedules a Job to update the System defined Device Property value for a Device |
![]() |
ScheduleDevicePropertyWriteAsync(String, String, String, Object) | Schedules a Job to update the System defined Device Property value for a Device |
![]() |
ScheduleDevicePropertyWriteAsync(String, String, String, Object, CancellationToken) | Schedules a Job to update the System defined Device Property value for a Device |
See Also
JobClient Class
Microsoft.Azure.Devices Namespace
Return to top
JobClient.ScheduleDevicePropertyWriteAsync Method (String, IEnumerable<String>, String, Object)
Schedules a Job to update the System defined Device Property value for a Device
Syntax
public abstract Task<JobResponse> ScheduleDevicePropertyWriteAsync(
string jobId,
IEnumerable<string> deviceIds,
string propertyName,
object value
)
public:
virtual Task<JobResponse^>^ ScheduleDevicePropertyWriteAsync(
String^ jobId,
IEnumerable<String^>^ deviceIds,
String^ propertyName,
Object^ value
) abstract
Parameters
jobId
Type: System.Stringjob id
deviceIds
Type: System.Collections.Generic.IEnumerable<String>Device Ids
propertyName
Type: System.StringProperty to Update
value
Type: System.ObjectValue to be updated to
Return Value
Type: System.Threading.Tasks.Task<JobResponse>
Job to poll for status
Return to top
JobClient.ScheduleDevicePropertyWriteAsync Method (String, IEnumerable<String>, String, Object, CancellationToken)
Schedules a Job to update the System defined Device Property value for a Device
Syntax
public abstract Task<JobResponse> ScheduleDevicePropertyWriteAsync(
string jobId,
IEnumerable<string> deviceIds,
string propertyName,
object value,
CancellationToken cancellationToken
)
public:
virtual Task<JobResponse^>^ ScheduleDevicePropertyWriteAsync(
String^ jobId,
IEnumerable<String^>^ deviceIds,
String^ propertyName,
Object^ value,
CancellationToken cancellationToken
) abstract
Parameters
jobId
Type: System.StringJob Id
deviceIds
Type: System.Collections.Generic.IEnumerable<String>Device Ids
propertyName
Type: System.StringProperty to Update
value
Type: System.ObjectValue to be updated to
cancellationToken
Type: System.Threading.CancellationTokenThe token which allows the the operation to be cancelled.
Return Value
Type: System.Threading.Tasks.Task<JobResponse>
Job to poll for status
Return to top
JobClient.ScheduleDevicePropertyWriteAsync Method (String, String, String, Object)
Schedules a Job to update the System defined Device Property value for a Device
Syntax
public abstract Task<JobResponse> ScheduleDevicePropertyWriteAsync(
string jobId,
string deviceId,
string propertyName,
object value
)
public:
virtual Task<JobResponse^>^ ScheduleDevicePropertyWriteAsync(
String^ jobId,
String^ deviceId,
String^ propertyName,
Object^ value
) abstract
Parameters
jobId
Type: System.StringJob id
deviceId
Type: System.StringDevice Id
propertyName
Type: System.StringProperty to Update
value
Type: System.ObjectValue to be updated to
Return Value
Type: System.Threading.Tasks.Task<JobResponse>
Job to poll for status
Return to top
JobClient.ScheduleDevicePropertyWriteAsync Method (String, String, String, Object, CancellationToken)
Schedules a Job to update the System defined Device Property value for a Device
Syntax
public abstract Task<JobResponse> ScheduleDevicePropertyWriteAsync(
string jobId,
string deviceId,
string propertyName,
object value,
CancellationToken cancellationToken
)
public:
virtual Task<JobResponse^>^ ScheduleDevicePropertyWriteAsync(
String^ jobId,
String^ deviceId,
String^ propertyName,
Object^ value,
CancellationToken cancellationToken
) abstract
Parameters
jobId
Type: System.StringJob Id
deviceId
Type: System.StringDevice Id
propertyName
Type: System.StringProperty to Update
value
Type: System.ObjectValue to be updated to
cancellationToken
Type: System.Threading.CancellationTokenThe token which allows the the operation to be cancelled.
Return Value
Type: System.Threading.Tasks.Task<JobResponse>
Job to poll for status
Return to top
.jpeg)