RegistryManager.removeDevice 方法

定义

重载

removeDevice(Device device)

Remove device

removeDevice(String deviceId)

Remove device

removeDevice(Device device)

Remove device

public void removeDevice(Device device)

参数

device
Device

The device name to remove

例外

IOException

This exception is thrown if the IO operation failed

IotHubException

This exception is thrown if the response verification failed

IllegalArgumentException

This exception is thrown if the device is null

removeDevice(String deviceId)

Remove device

public void removeDevice(String deviceId)

参数

deviceId
String

The device name to remove

例外

IOException

This exception is thrown if the IO operation failed

IotHubException

This exception is thrown if the response verification failed

适用于