RegistryManager.getDevice(String deviceId) 方法

定义

Get device data by device Id from IotHub

public Device getDevice(String deviceId)

参数

deviceId
String

The id of requested device

返回

The device object of requested device

例外

IOException

This exception is thrown if the IO operation failed

IotHubException

This exception is thrown if the response verification failed

适用于