RegistryManager.getDevices(Integer maxCount) 方法

定义

Get list of devices

public ArrayList<Device> getDevices(Integer maxCount)

参数

maxCount
Integer

The requested count of devices

返回

ArrayList<Device>

The array of requested device objects

例外

IOException

This exception is thrown if the IO operation failed

IotHubException

This exception is thrown if the response verification failed

适用于