RegistryManager.applyConfigurationContentOnDevice(String deviceId, ConfigurationContent content) 方法
定义
Apply the provided configuration content to the provided device
public void applyConfigurationContentOnDevice(String deviceId, ConfigurationContent content)
参数
- deviceId
- String
The device to apply the configuration to
- content
- ConfigurationContent
The configuration content to apply to the device
例外
IOException
If the iot hub cannot be reached
IotHubException
If the response from the hub was an error code. This exception will contain that code