Microsoft.HockeyApp.DataContracts.MetricTelemetry.MetricTelemetry C# (CSharp) Method

MetricTelemetry() public method

Initializes a new instance of the MetricTelemetry class with empty properties.
public MetricTelemetry ( ) : System
return System
        public MetricTelemetry()
        {
            this.Data = new MetricData();
            this.Metric = new DataPoint();
            this.context = new TelemetryContext(this.Data.properties, new Dictionary<string, string>());

            // We always have a single 'metric'.
            this.Data.metrics.Add(this.Metric);
        }

Same methods

MetricTelemetry::MetricTelemetry ( string metricName, double metricValue ) : System