共用方式為


DiagnosticMetricSet Class

Definition

Class representing Diagnostic Metric information

public class DiagnosticMetricSet
type DiagnosticMetricSet = class
Public Class DiagnosticMetricSet
Inheritance
DiagnosticMetricSet

Constructors

DiagnosticMetricSet()

Initializes a new instance of the DiagnosticMetricSet class.

DiagnosticMetricSet(String, String, Nullable<DateTime>, Nullable<DateTime>, String, IList<DiagnosticMetricSample>)

Initializes a new instance of the DiagnosticMetricSet class.

Properties

EndTime

Gets or sets end time of the period

Name

Gets or sets name of the metric

StartTime

Gets or sets start time of the period

TimeGrain

Gets or sets presented time grain. Supported grains at the moment are PT1M, PT1H, P1D

Unit

Gets or sets metric's unit

Values

Gets or sets collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}

Applies to