DeviceTwinDevice.setDesiredProperties 方法

定义

重载

setDesiredProperties(Set<Pair> desiredProperties)

Setter for the desired properties.

setDesiredProperties(TwinCollection desiredProperties)

Setter for the desired properties.

setDesiredProperties(Set<Pair> desiredProperties)

Setter for the desired properties.

public void setDesiredProperties(Set<Pair> desiredProperties)

参数

desiredProperties
Set<Pair>

A set of key/value pairs for desired properties.

例外

IllegalArgumentException

This exception is thrown if the set isnull 

</code> . </p>

setDesiredProperties(TwinCollection desiredProperties)

Setter for the desired properties.

protected void setDesiredProperties(TwinCollection desiredProperties)

参数

desiredProperties
TwinCollection

A map of validated key/value pairs for desired properties.

适用于