RegistryManager.addDevice(Device device) 方法
定义
Add device using the given Device object Return with the response device object from IotHub
public Device addDevice(Device device)
参数
- device
- Device
The device object to add
返回
The future object for the requested operation
例外
IOException
This exception is thrown if the IO operation failed
IotHubException
This exception is thrown if the response verification failed