你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RegistryManager.GetRegistryStatisticsAsync Method

Definition

Overloads

Name Description
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