RegistryManager.addDeviceAsync(Device device) 方法

定义

Async wrapper for add() operation

public CompletableFuture<Device> addDeviceAsync(Device device)

参数

device
Device

The device object to add

返回

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

适用于