Dela via


MetricsAdvisorClient.GetFeedbackAsync(String, CancellationToken) Method

Definition

Gets a MetricFeedback.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.MetricsAdvisor.MetricFeedback>> GetFeedbackAsync (string feedbackId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFeedbackAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.MetricsAdvisor.MetricFeedback>>
override this.GetFeedbackAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.MetricsAdvisor.MetricFeedback>>
Public Overridable Function GetFeedbackAsync (feedbackId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MetricFeedback))

Parameters

feedbackId
String

The ID of the MetricFeedback.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Response<T> containing the requested MetricFeedback.

Exceptions

feedbackId is null.

feedbackId is empty or not a valid GUID.

Applies to