RegistryManager.RemoveModuleAsync Method

Definition

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.

C#
public virtual System.Threading.Tasks.Task RemoveModuleAsync(Microsoft.Azure.Devices.Module module);

Parameters

module
Module

The module being deleted.

Returns

Applies to

Azure SDK for .NET Latest
Product Versies
Azure SDK for .NET Latest

RemoveModuleAsync(Module, CancellationToken)

Deletes a previously registered module from device in the system.

C#
public virtual System.Threading.Tasks.Task RemoveModuleAsync(Microsoft.Azure.Devices.Module module, System.Threading.CancellationToken cancellationToken);

Parameters

module
Module

The module being deleted.

cancellationToken
CancellationToken

The token which allows the operation to be canceled.

Returns

Applies to

Azure SDK for .NET Latest
Product Versies
Azure SDK for .NET Latest

RemoveModuleAsync(String, String)

Deletes a previously registered module from device in the system.

C#
public virtual System.Threading.Tasks.Task RemoveModuleAsync(string deviceId, string moduleId);

Parameters

deviceId
String

The id of the device being deleted.

moduleId
String

The id of the moduleId being deleted.

Returns

Applies to

Azure SDK for .NET Latest
Product Versies
Azure SDK for .NET Latest

RemoveModuleAsync(String, String, CancellationToken)

Deletes a previously registered module from device in the system.

C#
public virtual System.Threading.Tasks.Task RemoveModuleAsync(string deviceId, string moduleId, System.Threading.CancellationToken cancellationToken);

Parameters

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.

Returns

Applies to

Azure SDK for .NET Latest
Product Versies
Azure SDK for .NET Latest