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

CloudTableClient.GetServiceStatsAsync 方法

定义

重载

GetServiceStatsAsync(TableRequestOptions, OperationContext)

启动异步操作以获取辅助表服务终结点的服务统计信息。

GetServiceStatsAsync()

启动异步操作以获取辅助表服务终结点的服务统计信息。

GetServiceStatsAsync(CancellationToken)

启动异步操作以获取辅助表服务终结点的服务统计信息。

GetServiceStatsAsync(TableRequestOptions, OperationContext, CancellationToken)

启动异步操作以获取辅助表服务终结点的服务统计信息。

GetServiceStatsAsync(TableRequestOptions, OperationContext)

启动异步操作以获取辅助表服务终结点的服务统计信息。

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats> GetServiceStatsAsync (Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
abstract member GetServiceStatsAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats>
override this.GetServiceStatsAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats>
Public Overridable Function GetServiceStatsAsync (requestOptions As TableRequestOptions, operationContext As OperationContext) As Task(Of ServiceStats)

参数

requestOptions
TableRequestOptions

一个 TableRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

返回

表示异步操作的 ServiceStats 类型的 Task<TResult> 对象。

适用于

GetServiceStatsAsync()

启动异步操作以获取辅助表服务终结点的服务统计信息。

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats> GetServiceStatsAsync ();
abstract member GetServiceStatsAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats>
override this.GetServiceStatsAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats>
Public Overridable Function GetServiceStatsAsync () As Task(Of ServiceStats)

返回

表示异步操作的 ServiceStats 类型的 Task<TResult> 对象。

适用于

GetServiceStatsAsync(CancellationToken)

启动异步操作以获取辅助表服务终结点的服务统计信息。

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats> GetServiceStatsAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetServiceStatsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats>
override this.GetServiceStatsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats>
Public Overridable Function GetServiceStatsAsync (cancellationToken As CancellationToken) As Task(Of ServiceStats)

参数

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

表示异步操作的 ServiceStats 类型的 Task<TResult> 对象。

适用于

GetServiceStatsAsync(TableRequestOptions, OperationContext, CancellationToken)

启动异步操作以获取辅助表服务终结点的服务统计信息。

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats> GetServiceStatsAsync (Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member GetServiceStatsAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats>
override this.GetServiceStatsAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.ServiceStats>
Public Overridable Function GetServiceStatsAsync (requestOptions As TableRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of ServiceStats)

参数

requestOptions
TableRequestOptions

一个 TableRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

表示异步操作的 ServiceStats 类型的 Task<TResult> 对象。

适用于