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

MetricCommentFeedback(String, DimensionKey, String) 构造函数

定义

初始化 MetricCommentFeedback 类的新实例。

public MetricCommentFeedback (string metricId, Azure.AI.MetricsAdvisor.Models.DimensionKey dimensionKey, string comment);
new Azure.AI.MetricsAdvisor.MetricCommentFeedback : string * Azure.AI.MetricsAdvisor.Models.DimensionKey * string -> Azure.AI.MetricsAdvisor.MetricCommentFeedback
Public Sub New (metricId As String, dimensionKey As DimensionKey, comment As String)

参数

metricId
String

应用 的指标 MetricCommentFeedback 的标识符。

dimensionKey
DimensionKey

一个键,用于标识应用 的一组时序 MetricCommentFeedback 。 如果设置了所有可能的维度,则此键唯一标识指定的 metricId的单个时序。 如果只设置了维度的子集,则此键将唯一标识一组时序。

comment
String

反馈的评论内容。

例外

metricIddimensionKeycommentnull

metricIdcomment 为空。

适用于