Share via


MetricsAdvisorClient.GetFeedback(String, CancellationToken) Method

Definition

Gets a MetricFeedback.

public virtual Azure.Response<Azure.AI.MetricsAdvisor.MetricFeedback> GetFeedback (string feedbackId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFeedback : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.MetricsAdvisor.MetricFeedback>
override this.GetFeedback : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.MetricsAdvisor.MetricFeedback>
Public Overridable Function GetFeedback (feedbackId As String, Optional cancellationToken As CancellationToken = Nothing) As 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