RegistryManager.updateConfiguration 方法

定义

重载

updateConfiguration(Configuration configuration)

Update configuration not forced

updateConfiguration(Configuration configuration, Boolean forceUpdate)

Update configuration with forceUpdate input parameter

updateConfiguration(Configuration configuration)

Update configuration not forced

public Configuration updateConfiguration(Configuration configuration)

参数

configuration
Configuration

The configuration object containing updated data

返回

The updated configuration object

例外

IOException

This exception is thrown if the IO operation failed

IotHubException

This exception is thrown if the response verification failed

updateConfiguration(Configuration configuration, Boolean forceUpdate)

Update configuration with forceUpdate input parameter

public Configuration updateConfiguration(Configuration configuration, Boolean forceUpdate)

参数

configuration
Configuration

The configuration object containing updated data

forceUpdate
Boolean

This value is not used

返回

The updated configuration object

例外

IOException

This exception is thrown if the IO operation failed

IotHubException

This exception is thrown if the response verification failed

适用于