JobClient.ScheduleRebootDeviceAsync Method

 

Namespace:   Microsoft.Azure.Devices
Assembly:  Microsoft.Azure.Devices (in Microsoft.Azure.Devices.dll)

Overload List

Name Description
System_CAPS_pubmethod ScheduleRebootDeviceAsync(String, IEnumerable<String>)

Schedule a job to reboot a Device

System_CAPS_pubmethod ScheduleRebootDeviceAsync(String, IEnumerable<String>, CancellationToken)

Schedule a job to reboot a Device

System_CAPS_pubmethod ScheduleRebootDeviceAsync(String, String)

Schedule a job to reboot a Device

System_CAPS_pubmethod ScheduleRebootDeviceAsync(String, String, CancellationToken)

Schedule a job to reboot a Device

See Also

JobClient Class
Microsoft.Azure.Devices Namespace

Return to top

JobClient.ScheduleRebootDeviceAsync Method (String, IEnumerable<String>)

Schedule a job to reboot a Device

Syntax

public abstract Task<JobResponse> ScheduleRebootDeviceAsync(
    string jobId,
    IEnumerable<string> deviceIds
)
public:
virtual Task<JobResponse^>^ ScheduleRebootDeviceAsync(
    String^ jobId,
    IEnumerable<String^>^ deviceIds
) abstract

Parameters

Return Value

Type: System.Threading.Tasks.Task<JobResponse>

Job to poll for status

Return to top

JobClient.ScheduleRebootDeviceAsync Method (String, IEnumerable<String>, CancellationToken)

Schedule a job to reboot a Device

Syntax

public abstract Task<JobResponse> ScheduleRebootDeviceAsync(
    string jobId,
    IEnumerable<string> deviceIds,
    CancellationToken cancellationToken
)
public:
virtual Task<JobResponse^>^ ScheduleRebootDeviceAsync(
    String^ jobId,
    IEnumerable<String^>^ deviceIds,
    CancellationToken cancellationToken
) abstract

Parameters

Return Value

Type: System.Threading.Tasks.Task<JobResponse>

Job to poll for status

Return to top

JobClient.ScheduleRebootDeviceAsync Method (String, String)

Schedule a job to reboot a Device

Syntax

public abstract Task<JobResponse> ScheduleRebootDeviceAsync(
    string jobId,
    string deviceId
)
public:
virtual Task<JobResponse^>^ ScheduleRebootDeviceAsync(
    String^ jobId,
    String^ deviceId
) abstract

Parameters

Return Value

Type: System.Threading.Tasks.Task<JobResponse>

Job to poll for status

Return to top

JobClient.ScheduleRebootDeviceAsync Method (String, String, CancellationToken)

Schedule a job to reboot a Device

Syntax

public abstract Task<JobResponse> ScheduleRebootDeviceAsync(
    string jobId,
    string deviceId,
    CancellationToken cancellationToken
)
public:
virtual Task<JobResponse^>^ ScheduleRebootDeviceAsync(
    String^ jobId,
    String^ deviceId,
    CancellationToken cancellationToken
) abstract

Parameters

Return Value

Type: System.Threading.Tasks.Task<JobResponse>

Job to poll for status

Return to top