RegistryManager.removeModule 方法
定义
重载
removeModule(Module module) |
Remove module
|
removeModule(String deviceId, String moduleId) |
Remove module
|
removeModule(Module module)
Remove module
public void removeModule(Module module)
参数
- module
- Module
The module to be removed
例外
IOException
This exception is thrown if the IO operation failed
IotHubException
This exception is thrown if the response verification failed
IllegalArgumentException
This exception is thrown if the input module is null
removeModule(String deviceId, String moduleId)
Remove module
public void removeModule(String deviceId, String moduleId)
参数
- deviceId
- String
The device name associated with the module to be removed
- moduleId
- String
The module name to be removed
例外
IOException
This exception is thrown if the IO operation failed
IotHubException
This exception is thrown if the response verification failed