RegistryManager.AddDevicesAsync メソッド

定義

オーバーロード

AddDevicesAsync(IEnumerable<Device>)
古い.

新しいデバイスの一覧をシステムに登録する

AddDevicesAsync(IEnumerable<Device>, CancellationToken)
古い.

新しいデバイスの一覧をシステムに登録する

AddDevicesAsync(IEnumerable<Device>)

注意事項

Use AddDevices2Async

新しいデバイスの一覧をシステムに登録する

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

パラメーター

devices
IEnumerable<Device>

登録されている Device オブジェクト。

戻り値

エラー メッセージの文字列配列を返します。

属性

適用対象

AddDevicesAsync(IEnumerable<Device>, CancellationToken)

注意事項

Use AddDevices2Async

新しいデバイスの一覧をシステムに登録する

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

パラメーター

devices
IEnumerable<Device>

登録されている Device オブジェクト。

cancellationToken
CancellationToken

操作を取り消すトークン。

戻り値

エラー メッセージの文字列配列を返します。

属性

適用対象