RegistryManager.AddDevices2Async Método

Definição

Sobrecargas

AddDevices2Async(IEnumerable<Device>)

Registrar uma lista de novos dispositivos com o sistema

AddDevices2Async(IEnumerable<Device>, CancellationToken)

Registrar uma lista de novos dispositivos com o sistema

AddDevices2Async(IEnumerable<Device>)

Registrar uma lista de novos dispositivos com o sistema

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.BulkRegistryOperationResult> AddDevices2Async (System.Collections.Generic.IEnumerable<Microsoft.Azure.Devices.Device> devices);
abstract member AddDevices2Async : seq<Microsoft.Azure.Devices.Device> -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.BulkRegistryOperationResult>
override this.AddDevices2Async : seq<Microsoft.Azure.Devices.Device> -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.BulkRegistryOperationResult>
Public Overridable Function AddDevices2Async (devices As IEnumerable(Of Device)) As Task(Of BulkRegistryOperationResult)

Parâmetros

devices
IEnumerable<Device>

Os objetos Device que estão sendo registrados.

Retornos

Retorna um objeto BulkRegistryOperationResult.

Aplica-se a

AddDevices2Async(IEnumerable<Device>, CancellationToken)

Registrar uma lista de novos dispositivos com o sistema

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.BulkRegistryOperationResult> AddDevices2Async (System.Collections.Generic.IEnumerable<Microsoft.Azure.Devices.Device> devices, System.Threading.CancellationToken cancellationToken);
abstract member AddDevices2Async : seq<Microsoft.Azure.Devices.Device> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.BulkRegistryOperationResult>
override this.AddDevices2Async : seq<Microsoft.Azure.Devices.Device> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.BulkRegistryOperationResult>
Public Overridable Function AddDevices2Async (devices As IEnumerable(Of Device), cancellationToken As CancellationToken) As Task(Of BulkRegistryOperationResult)

Parâmetros

devices
IEnumerable<Device>

Os objetos Device que estão sendo registrados.

cancellationToken
CancellationToken

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

Retornos

Retorna um objeto BulkRegistryOperationResult.

Aplica-se a