C# Class Microsoft.HockeyApp.DataContracts.MetricTelemetry

Telemetry type used to track metrics.
Inheritance: ITelemetry, ISupportProperties
Show file Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Public Methods

Method Description
MetricTelemetry ( ) : System

Initializes a new instance of the MetricTelemetry class with empty properties.

MetricTelemetry ( string metricName, double metricValue ) : System

Initializes a new instance of the MetricTelemetry class with the specified metricName and metricValue.

Private Methods

Method Description
ITelemetry ( ) : void

Sanitizes the properties based on constraints.

UpdateKind ( ) : void

Method Details

MetricTelemetry() public method

Initializes a new instance of the MetricTelemetry class with empty properties.
public MetricTelemetry ( ) : System
return System

MetricTelemetry() public method

Initializes a new instance of the MetricTelemetry class with the specified metricName and metricValue.
The is null or empty string.
public MetricTelemetry ( string metricName, double metricValue ) : System
metricName string
metricValue double
return System