RegistryManager.getModule(String deviceId, String moduleId) 方法
定义
Get module data by device Id and module Id from IotHub
public Module getModule(String deviceId, String moduleId)
参数
- deviceId
- String
The id of requested device
- moduleId
- String
The id of requested module
返回
The module object of requested module on the specific device
例外
IOException
This exception is thrown if the IO operation failed
IotHubException
This exception is thrown if the response verification failed