RegistryManager.getDeviceAsync(String deviceId) 方法
定义
Async wrapper for getDevice() operation
public CompletableFuture<Device> getDeviceAsync(String deviceId)
参数
- deviceId
- String
The id of requested device
返回
CompletableFuture<Device>
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