DeviceTwin.replaceTags(DeviceTwinDevice device) 方法

定义

This method replaces tags for the specified device. Tags can be input via device's setTags(TwinCollection tag) method.

public void replaceTags(DeviceTwinDevice device)

参数

device
DeviceTwinDevice

The device with a valid Id for which device twin is to be updated.

例外

UnsupportedOperationException

This exception is always thrown.

适用于