RegistryManager.RemoveDeviceAsync Método

Definição

Sobrecargas

RemoveDeviceAsync(String, CancellationToken)

Exclui um dispositivo registrado anteriormente do sistema.

RemoveDeviceAsync(Device, CancellationToken)

Exclui um dispositivo registrado anteriormente do sistema.

RemoveDeviceAsync(Device)

Exclui um dispositivo registrado anteriormente do sistema.

RemoveDeviceAsync(String)

Exclui um dispositivo registrado anteriormente do sistema.

RemoveDeviceAsync(String, CancellationToken)

Exclui um dispositivo registrado anteriormente do sistema.

public virtual System.Threading.Tasks.Task RemoveDeviceAsync (string deviceId, System.Threading.CancellationToken cancellationToken);
abstract member RemoveDeviceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveDeviceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RemoveDeviceAsync (deviceId As String, cancellationToken As CancellationToken) As Task

Parâmetros

deviceId
String

A ID do dispositivo que está sendo excluído.

cancellationToken
CancellationToken

O token que permite que a operação seja cancelada.

Retornos

Aplica-se a

RemoveDeviceAsync(Device, CancellationToken)

Exclui um dispositivo registrado anteriormente do sistema.

public virtual System.Threading.Tasks.Task RemoveDeviceAsync (Microsoft.Azure.Devices.Device device, System.Threading.CancellationToken cancellationToken);
abstract member RemoveDeviceAsync : Microsoft.Azure.Devices.Device * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveDeviceAsync : Microsoft.Azure.Devices.Device * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RemoveDeviceAsync (device As Device, cancellationToken As CancellationToken) As Task

Parâmetros

device
Device

O dispositivo que está sendo excluído.

cancellationToken
CancellationToken

O token que permite que a operação seja cancelada.

Retornos

Aplica-se a

RemoveDeviceAsync(Device)

Exclui um dispositivo registrado anteriormente do sistema.

public virtual System.Threading.Tasks.Task RemoveDeviceAsync (Microsoft.Azure.Devices.Device device);
abstract member RemoveDeviceAsync : Microsoft.Azure.Devices.Device -> System.Threading.Tasks.Task
override this.RemoveDeviceAsync : Microsoft.Azure.Devices.Device -> System.Threading.Tasks.Task
Public Overridable Function RemoveDeviceAsync (device As Device) As Task

Parâmetros

device
Device

O dispositivo que está sendo excluído.

Retornos

Aplica-se a

RemoveDeviceAsync(String)

Exclui um dispositivo registrado anteriormente do sistema.

public virtual System.Threading.Tasks.Task RemoveDeviceAsync (string deviceId);
abstract member RemoveDeviceAsync : string -> System.Threading.Tasks.Task
override this.RemoveDeviceAsync : string -> System.Threading.Tasks.Task
Public Overridable Function RemoveDeviceAsync (deviceId As String) As Task

Parâmetros

deviceId
String

A ID do dispositivo que está sendo excluído.

Retornos

Aplica-se a