RegistryManager.updateModule 方法
定义
重载
updateModule(Module module) |
Update module not forced
|
updateModule(Module module, Boolean forceUpdate) |
Update module with forceUpdate input parameter
|
updateModule(Module module)
Update module not forced
public Module updateModule(Module module)
参数
- module
- Module
The module object containing updated data
返回
The updated module object
例外
IOException
This exception is thrown if the IO operation failed
IotHubException
This exception is thrown if the response verification failed
updateModule(Module module, Boolean forceUpdate)
Update module with forceUpdate input parameter
public Module updateModule(Module module, Boolean forceUpdate)
参数
- module
- Module
The module object containing updated data
- forceUpdate
- Boolean
This value is not used
返回
The updated module object
例外
IOException
This exception is thrown if the IO operation failed
IotHubException
This exception is thrown if the response verification failed