MetricsAdvisorClient.AddFeedback(MetricFeedback, CancellationToken) Method

Definition

Adds a MetricFeedback.

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

Parameters

feedback
MetricFeedback

The MetricFeedback to be created.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Response<T> containing the result of the operation. The result is a MetricFeedback containing information about the newly added feedback.

Exceptions

feedback is null.

Applies to