Condividi tramite


RegistryManager.GetConfigurationsAsync Method

Definition

Overloads

GetConfigurationsAsync(Int32)

Retrieves specified number of configurations from every IoT hub partition. Results are not ordered.

GetConfigurationsAsync(Int32, CancellationToken)

Retrieves specified number of configurations from every IoT hub partition. Results are not ordered.

GetConfigurationsAsync(Int32)

Retrieves specified number of configurations from every IoT hub partition. Results are not ordered.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Devices.Configuration>> GetConfigurationsAsync (int maxCount);
abstract member GetConfigurationsAsync : int -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Devices.Configuration>>
override this.GetConfigurationsAsync : int -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Devices.Configuration>>
Public Overridable Function GetConfigurationsAsync (maxCount As Integer) As Task(Of IEnumerable(Of Configuration))

Parameters

maxCount
Int32

Returns

The list of configurations.

Applies to

GetConfigurationsAsync(Int32, CancellationToken)

Retrieves specified number of configurations from every IoT hub partition. Results are not ordered.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Devices.Configuration>> GetConfigurationsAsync (int maxCount, System.Threading.CancellationToken cancellationToken);
abstract member GetConfigurationsAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Devices.Configuration>>
override this.GetConfigurationsAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Devices.Configuration>>
Public Overridable Function GetConfigurationsAsync (maxCount As Integer, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of Configuration))

Parameters

maxCount
Int32
cancellationToken
CancellationToken

Returns

The list of configurations.

Applies to