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

MetricsAdvisorClient.GetAllFeedbackAsync Method

Definition

Gets a collection of MetricFeedback related to the given metric.

public virtual Azure.AsyncPageable<Azure.AI.MetricsAdvisor.MetricFeedback> GetAllFeedbackAsync(string metricId, Azure.AI.MetricsAdvisor.GetAllFeedbackOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllFeedbackAsync : string * Azure.AI.MetricsAdvisor.GetAllFeedbackOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.MetricFeedback>
override this.GetAllFeedbackAsync : string * Azure.AI.MetricsAdvisor.GetAllFeedbackOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.MetricFeedback>
Public Overridable Function GetAllFeedbackAsync (metricId As String, Optional options As GetAllFeedbackOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MetricFeedback)

Parameters

metricId
String

The ID of the metric.

options
GetAllFeedbackOptions

The optional GetAllFeedbackOptions containing the options to apply to the request.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

An AsyncPageable<T> containing the collection of MetricFeedback.

Exceptions

metricId is null.

metricId is empty or not a valid GUID.

Applies to