MetricsAdvisorClient.GetFeedbackAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.