RegistryManager.GetDevicesAsync メソッド

定義

オーバーロード

GetDevicesAsync(Int32)
古い.

すべての IoT ハブ パーティションから指定した数のデバイスを取得します。 これは近似値であり、明確なリストではありません。 結果は順序付けされません。

GetDevicesAsync(Int32, CancellationToken)
古い.

すべての IoT ハブ パーティションから指定した数のデバイスを取得します。 これは近似値であり、明確なリストではありません。 結果は順序付けされません。

GetDevicesAsync(Int32)

注意事項

Use CreateQuery("select * from devices", pageSize);

すべての IoT ハブ パーティションから指定した数のデバイスを取得します。 これは近似値であり、明確なリストではありません。 結果は順序付けされません。

[System.Obsolete("Use CreateQuery("select * from devices", pageSize);")]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Devices.Device>> GetDevicesAsync (int maxCount);
[<System.Obsolete("Use CreateQuery("select * from devices", pageSize);")>]
abstract member GetDevicesAsync : int -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Devices.Device>>
override this.GetDevicesAsync : int -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Devices.Device>>
Public Overridable Function GetDevicesAsync (maxCount As Integer) As Task(Of IEnumerable(Of Device))

パラメーター

maxCount
Int32

戻り値

デバイスの一覧。

属性

適用対象

GetDevicesAsync(Int32, CancellationToken)

注意事項

Use CreateQuery("select * from devices", pageSize);

すべての IoT ハブ パーティションから指定した数のデバイスを取得します。 これは近似値であり、明確なリストではありません。 結果は順序付けされません。

[System.Obsolete("Use CreateQuery("select * from devices", pageSize);")]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Devices.Device>> GetDevicesAsync (int maxCount, System.Threading.CancellationToken cancellationToken);
[<System.Obsolete("Use CreateQuery("select * from devices", pageSize);")>]
abstract member GetDevicesAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Devices.Device>>
override this.GetDevicesAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Devices.Device>>
Public Overridable Function GetDevicesAsync (maxCount As Integer, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of Device))

パラメーター

maxCount
Int32
cancellationToken
CancellationToken

戻り値

デバイスの一覧。

属性

適用対象