TelemetryCounterEvent<T> Class
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.
The class represents a telemetry event for an IVSCounter that can be posted to a server. The non-VS (ICounter) type has no additional exposed properties beyond the IInstrument. So, no additional properties are needed for the ICounter event and it can be posted normally.
public class TelemetryCounterEvent<T> : Microsoft.VisualStudio.Telemetry.Metrics.Events.TelemetryMetricEvent where T : struct
type TelemetryCounterEvent<'T (requires 'T : struct)> = class
inherit TelemetryMetricEvent
Public Class TelemetryCounterEvent(Of T)
Inherits TelemetryMetricEvent
Type Parameters
- T
- Inheritance
Constructors
TelemetryCounterEvent<T>(TelemetryEvent, ICounter<T>) |
Initializes a new instance of the TelemetryCounterEvent<T> class. |
Methods
ToString() |
ToString to make debugging easier: show in debug watch window. (Inherited from TelemetryMetricEvent) |