DeviceTwin.getTwin(DeviceTwinDevice device) 方法
定义
This method retrieves device twin for the specified device.
public void getTwin(DeviceTwinDevice device)
参数
- device
- DeviceTwinDevice
The device with a valid id for which device twin is to be retrieved.
例外
IOException
This exception is thrown if the IO operation failed.
IotHubException
This exception is thrown if the response verification failed.