RegistryManager.RemoveDevicesAsync Método

Definição

Sobrecargas

RemoveDevicesAsync(IEnumerable<Device>)
Obsoleto.

Exclui uma lista de dispositivos registrados anteriormente do sistema.

RemoveDevicesAsync(IEnumerable<Device>, Boolean, CancellationToken)
Obsoleto.

Exclui uma lista de dispositivos registrados anteriormente do sistema.

RemoveDevicesAsync(IEnumerable<Device>)

Cuidado

Use RemoveDevices2Async

Exclui uma lista de dispositivos registrados anteriormente do sistema.

[System.Obsolete("Use RemoveDevices2Async")]
public virtual System.Threading.Tasks.Task<string[]> RemoveDevicesAsync (System.Collections.Generic.IEnumerable<Microsoft.Azure.Devices.Device> devices);
[<System.Obsolete("Use RemoveDevices2Async")>]
abstract member RemoveDevicesAsync : seq<Microsoft.Azure.Devices.Device> -> System.Threading.Tasks.Task<string[]>
override this.RemoveDevicesAsync : seq<Microsoft.Azure.Devices.Device> -> System.Threading.Tasks.Task<string[]>
Public Overridable Function RemoveDevicesAsync (devices As IEnumerable(Of Device)) As Task(Of String())

Parâmetros

devices
IEnumerable<Device>

Os dispositivos que estão sendo excluídos.

Retornos

Atributos

Aplica-se a

RemoveDevicesAsync(IEnumerable<Device>, Boolean, CancellationToken)

Cuidado

Use RemoveDevices2Async

Exclui uma lista de dispositivos registrados anteriormente do sistema.

[System.Obsolete("Use RemoveDevices2Async")]
public virtual System.Threading.Tasks.Task<string[]> RemoveDevicesAsync (System.Collections.Generic.IEnumerable<Microsoft.Azure.Devices.Device> devices, bool forceRemove, System.Threading.CancellationToken cancellationToken);
[<System.Obsolete("Use RemoveDevices2Async")>]
abstract member RemoveDevicesAsync : seq<Microsoft.Azure.Devices.Device> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string[]>
override this.RemoveDevicesAsync : seq<Microsoft.Azure.Devices.Device> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string[]>
Public Overridable Function RemoveDevicesAsync (devices As IEnumerable(Of Device), forceRemove As Boolean, cancellationToken As CancellationToken) As Task(Of String())

Parâmetros

devices
IEnumerable<Device>

Os dispositivos que estão sendo excluídos.

forceRemove
Boolean

Força o objeto de dispositivo a ser removido sem considerar uma correspondência de ETag.

cancellationToken
CancellationToken

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

Retornos

Atributos

Aplica-se a