RegistryManager.RemoveModuleAsync Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| RemoveModuleAsync(Module) | Deletes a previously registered module from device in the system. | 
| RemoveModuleAsync(Module, CancellationToken) | Deletes a previously registered module from device in the system. | 
| RemoveModuleAsync(String, String) | Deletes a previously registered module from device in the system. | 
| RemoveModuleAsync(String, String, CancellationToken) | Deletes a previously registered module from device in the system. | 
RemoveModuleAsync(Module)
Deletes a previously registered module from device in the system.
public virtual System.Threading.Tasks.Task RemoveModuleAsync(Microsoft.Azure.Devices.Module module);abstract member RemoveModuleAsync : Microsoft.Azure.Devices.Module -> System.Threading.Tasks.Task
override this.RemoveModuleAsync : Microsoft.Azure.Devices.Module -> System.Threading.Tasks.TaskPublic Overridable Function RemoveModuleAsync (module As Module) As TaskParameters
- module
- Module
The module being deleted.
Returns
Applies to
RemoveModuleAsync(Module, CancellationToken)
Deletes a previously registered module from device in the system.
public virtual System.Threading.Tasks.Task RemoveModuleAsync(Microsoft.Azure.Devices.Module module, System.Threading.CancellationToken cancellationToken);abstract member RemoveModuleAsync : Microsoft.Azure.Devices.Module * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveModuleAsync : Microsoft.Azure.Devices.Module * System.Threading.CancellationToken -> System.Threading.Tasks.TaskPublic Overridable Function RemoveModuleAsync (module As Module, cancellationToken As CancellationToken) As TaskParameters
- module
- Module
The module being deleted.
- cancellationToken
- CancellationToken
The token which allows the operation to be canceled.
Returns
Applies to
RemoveModuleAsync(String, String)
Deletes a previously registered module from device in the system.
public virtual System.Threading.Tasks.Task RemoveModuleAsync(string deviceId, string moduleId);abstract member RemoveModuleAsync : string * string -> System.Threading.Tasks.Task
override this.RemoveModuleAsync : string * string -> System.Threading.Tasks.TaskPublic Overridable Function RemoveModuleAsync (deviceId As String, moduleId As String) As TaskParameters
- deviceId
- String
The id of the device being deleted.
- moduleId
- String
The id of the moduleId being deleted.
Returns
Applies to
RemoveModuleAsync(String, String, CancellationToken)
Deletes a previously registered module from device in the system.
public virtual System.Threading.Tasks.Task RemoveModuleAsync(string deviceId, string moduleId, System.Threading.CancellationToken cancellationToken);abstract member RemoveModuleAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveModuleAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.TaskPublic Overridable Function RemoveModuleAsync (deviceId As String, moduleId As String, cancellationToken As CancellationToken) As TaskParameters
- deviceId
- String
The id of the device being deleted.
- moduleId
- String
The id of the moduleId being deleted.
- cancellationToken
- CancellationToken
The token which allows the operation to be canceled.