Condividi tramite


RegistryManager.GetRegistryStatisticsAsync Method

Definition

Overloads

GetRegistryStatisticsAsync()

Gets usage statistics for the IoT hub.

GetRegistryStatisticsAsync(CancellationToken)

Gets usage statistics for the IoT hub.

GetRegistryStatisticsAsync()

Gets usage statistics for the IoT hub.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.RegistryStatistics> GetRegistryStatisticsAsync ();
abstract member GetRegistryStatisticsAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.RegistryStatistics>
override this.GetRegistryStatisticsAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.RegistryStatistics>
Public Overridable Function GetRegistryStatisticsAsync () As Task(Of RegistryStatistics)

Returns

Applies to

GetRegistryStatisticsAsync(CancellationToken)

Gets usage statistics for the IoT hub.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.RegistryStatistics> GetRegistryStatisticsAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetRegistryStatisticsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.RegistryStatistics>
override this.GetRegistryStatisticsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.RegistryStatistics>
Public Overridable Function GetRegistryStatisticsAsync (cancellationToken As CancellationToken) As Task(Of RegistryStatistics)

Parameters

cancellationToken
CancellationToken

The token which allows the operation to be canceled.

Returns

Applies to